Hello, I'm currently making the front end of a messaging system. And as of the front-end, it's going quite well as you can see in this screenshot: https://imgur.com/a/HdLqZ
Here for I want to ask you guys if u know a great tutorial to make this. I, unfortunately, have no experience in making that whatsoever.
I can use some great advice.
My problem with all the tutorials I have found so far was that all the message styles were the same. and you couldn't distinguish them from each other.
A great example of this is, for instance, Facebook Messenger. The sender's messages are blue while the receivers messages are grey. This means if I send a message it would be blue for me and the message that the person receives would be grey for him. This is also the other way around. I already made the entire HTML and CSS. now I just need to find the perfect tutorial that I can wrap my front-end around. Any suggestion? If ur willing to help with this project I would be open for that as well!
@davy_yg I think you can see it in the image that I provided. A user needs to be able to send another user a message. And then that user will be on the side of the message system. If they click on it they will be able to talk to them. Here is a small GIF to make it clear https://imgur.com/a/SYwNy
@tisuchi I did but they are using one HTML file for the messages. I want to be able to style them differently, For instance, The messages I send need to be blue and on the right side while the ones that I receive are grey and on the left side. And it needs to be for every user. I haven't found any tutorials yet that have that system. They're all just on top of each other and the same style.
@davy_gy I'm looking for a tutorial that is using a similar setup like mine. A system that makes a logged in user, able to send a message to another user by clicking on their name and sending them a message. I haven't found any tutorial yet that is using that concept. As you can see in the GIF in my previous reply, On the side of that system I got a list of people. A user gets added to this list if he/she pressed a button which says "Send message" on his/her profile.
If the logged in user clicks on one of these users, he/she is able to talk with the person in real time. Also, All the tutorials I have seen so far are using the same styles and HTML for all messages and I can't figure out how to separate the styles for a sent message and a received message. I just haven't found a tutorial that is using that concept and that's exactly what i'm looking for