CSS Fixed Position

How to use position fixed in CSS

Sometimes on a webpage, you’ll want a part of it to never leave the screen.  No matter how much you scroll up or down, you’ll want that piece of the page to always be in the same spot.  For that, we use a CSS position …

Read More

for vs for in loops

For of vs For in JavaScript Loops

In JavaScript there are two kinds of for loops: for of and for in.  The difference can be seen when looping through arrays.  Let’s take this array for example: var greetings = [“Hi”,”Hey”,”Hello”] It’s just a normal array with three strings (words) in it called …

Read More