Code a chat app Guide Introduction The features of the chat app Socket.IO methods Socket.IO events Callback functions Directory structure So far.. Set up index.html and style.css Sending a message from the client to the server Receiving the message from the client at the server Displaying the message to all connected clients Broadcasting “user is typing…” message Display greeting message when someone joins the chat
Day 5: JavaScript function to crash your browser
JavaScript function to crash your browser via an infinite loop [codepen_embed height=”300″ theme_id=”21518″ slug_hash=”bOJBee” default_tab=”js,result” user=”Kauress”]See the Pen <a href=’https://codepen.io/Kauress/pen/bOJBee/’>Day 5: JavaScript function to crash browser</a> by Kauress (<a href=’https://codepen.io/Kauress’>@Kauress</a>) on <a href=’https://codepen.io’>CodePen</a>.[/codepen_embed]
Coding worksheet
This is the 3rd code worksheet in a series of: “As long as they work and I’m getting results”. This worksheet features For Loops. While coding is a pretty hands on activity, reading is probably the most under-rated part of coding! Which is part of what I’m trying to do here with the worksheets, present bite sized information for scrumptious and easier consumption to the
Coding Worksheet #1: Booleans
So at the coding bootcamp I did a bit of explaining the concept of var flag/count as a way to track the state of an application. What seems intuitive now, wasn’t always so. I created a “Kanye Says” coding worksheet to explain the concept of true/false, on/off state in code, by using the example of a light bulb that is switched on and off. Any