In Vanilla JavaScript and in React

setTimeout(doSomething(), 2000);

Code Reuse

  1. The jQuery object returned by a jQuery selector like ($(#main)).
  2. The objects that are returned from either…

How conflicts are resolved in CSS

Hiding Variables and Closure in JavaScript

The JavaScript Event Loop

jQuery Selector VS getElementById

CSS: Cascade, Inheritance, and Specificity

SCSS Mixins

What’s the difference?

How JavaScript can be single threaded and asynchronous.

Hiding Variables

Mutating arrays

When you pass an array into a function in JavaScript, it is passed as a reference. Anything you do that alters the array inside the function will also alter the original array. for example this code will log [1, 2, 3] to the console:

Scott Price

Front End Developer with Information Security Experience. See my resume and portfolio at

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store