In the previous chapter, you learned about Socket.io and WebSockets, which enable two-way communication between the server and the client. In this chapter, we'll continue our discussion on styling our chat page and make it look more like a real web app. We'll look into timestamps and formatting time and date using Moment methods. We'll create and render templates for newMessage and newLocation messages. We'll also look into auto scrolling, making the chat a little less annoying.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia