From the course: Node.js: Real-Time Web with Socket.IO

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution to tech rooms

Solution to tech rooms

From the course: Node.js: Real-Time Web with Socket.IO

Start my 1-month free trial

Solution to tech rooms

- [Instructor] Hopefully, you had no issues reproducing your example across, and for those that were a bit unclear on Socket.io concepts, this was a good exercise to challenge you and get some experience. So, let's take a look at the solution. Like I mentioned, the first thing that you had to do was to make sure that you had the right rooms mentioned in your code on the client side. So, first off, Javascript was already okay, so Javascript, the room was saying Javascript. So, on Swift, all you had to do was to add the little Swift here inside of the room, and then you had to make sure that your route was set up inside of the index, which we did in the last, and we also did the CSS, so you were good for the routes, so you were good for that. The other thing that I added that was just navigation perspective and aesthetic perspective, at the top, in the title, I added tag Swift, so when you're inside of that physical room, you know that you're in Swift room if you look at the tab at the…

Contents