Well-organized code can be easier to debug, and easier to revisit later. Let's make sure we understand how to organize our code using the best practices. Read More
August 14, 2019
Destructuring assignment is a special JavaScript syntax that makes it possible to assign multiple variables to elements of an array or properties of an object. It is very useful when you are trying to assign multiple variables or get values of an array and/or object. Read More
August 07, 2019
Labels are great for describing what a form input is for. Learn how and why to use labels. Read More
July 31, 2019
There's a principle in programming called DRY, or Don't Repeat Yourself. It usually means refactoring code by taking something done several times and turning it into a loop or a function. Read More
July 24, 2019
Unlike other data types you might have seen so far, it is not possible to correctly compare two arrays by using the === or == comparison operator. Two primitive data type values can be equal, but no two arrays are the same, even if they have the same elements inside. Read More
July 17, 2019
CSS treats each HTML element as if it is in its own box. This box will either be a block-level box or an inline box. It has the following positioning schemes that allow you to control the layout of a page normal flow, relative positioning, and absolute positioning. Read More
July 10, 2019
The rest operator actually uses the same syntax as the spread operator. It's usage determines whether you're using it as the spread or rest operator. Read More
July 03, 2019
Styling your site to look different depending on the size of a screen it is being viewed on is known as responsive web design. In web design, the screen being used to view a site is commonly referred to as a viewport. Read More
June 26, 2019
When requests to a web sever come in you have this process called authentication that lets the server figure out exactly who made that request. Read More
June 19, 2019
Keeping track of every single HTML element might become difficult. There’s this CSS naming convention called block element modifier, also known as BEM. What it means is there are three different CSS classes of tags. Read More
June 12, 2019
Sometimes when installing software, it might not give you an option to set an environment variable. Learn how to set environment variables in windows 10 Read More
June 05, 2019
Numbers, strings, booleans, undefined, null are 5 out of the 6 primitives, or basic data types. The other one is symbol, which represents an identifier for object properties. Read More
May 29, 2019
To understand why let and const were added, it’s probably best to look at an example of when using var can get tricky. Read More
May 22, 2019
Objects are containers that encapsulate data, meaning all of the relevant data and functions for the thing that the variable name represents are kept together in a “capsule”, better known as an object that can be created and manipulated in programs as a single unit. Read More
May 15, 2019
Each element on a web page takes up space, and the box model describes the space around the element. Read More
May 01, 2019
Well-written code follows consistent indentation and spacing patterns. In HTML, inconsistent indentation and spacing will not impact the functionality of a website, but will cause your code to be difficult to read and understand. Read More
April 24, 2019
In this blog I’ll introduce the concept of responsive images, images that work well on devices with widely differing screen sizes, and resolutions, and how to implement them on the web using the picture element and srcset attribute. Read More
April 10, 2019
git commit --amend is an easy way to modify the most recent commit, but if we need to modify history going further back then we’ll need to use the git rebase -i command. Read More
April 03, 2019
We always want to include clear and detailed messages with our commits. However, even the most careful developers can make mistakes. Git has several options to re-write git history, including a git commit. Read More
March 13, 2019
HTML Block elements are elements that when displayed start on a line of their own, in effect making a block on the page. Inline elements do not appear on their own line, but share a line with other inline elements. Read More
March 06, 2019
Classes are great for selectively applying styles to certain parts of your web pages. But sometimes you’ll have entire sections of your pages that you want to style a certain way, and adding a style to every tag gets annoying. Divs and spans can help. Read More
February 27, 2019
In this blog, we’re going to explore how JavaScript uses constructors as blueprints for the creation of many new objects, and prototypes for adding methods to objects. Read More
December 19, 2018
You can think of a method as an action that a number, string or object can perform or have taken on it. Read More
November 21, 2018
CSS introduces both pseudo-elements and pseudo-classes. A pseudo-element acts like an extra element is in the code. A pseudo-class acts like an extra value for a class attribute. Read More
November 14, 2018
It’s more fun to make web pages when we can show them off to our friends. There are a lot of ways to put our pages online, GitHub Pages is one way. Read More
November 07, 2018
When we want to publish our code online (save it on the cloud so we can access it from any device), we want to store it in a remote repository. In this blog, we'll dive in to using GitHub to store our code remotely. Read More
October 31, 2018
Now that we know how to setup Git, lets see how we can track changes. Read More
October 24, 2018