return must be used inside of a function. return immediately stops a function from running. return can replace some unnecessary if…else statements. The return operator is typically one of the first things people are introduced to when learning JavaScript. It certainly seems straight forward – …
Uncategorized
Beginner Web Development Resources
A simple collection of beginner guides for those who want to learn web development. Note: I will continue to expand on this guide with links, tools, tutorials, and insights that I find helpful for aspiring programmers (and myself!). Table of Contents Getting Started What You’ll Need …
How to Add Your Own JavaScript to a WordPress Site
Need to add some extra functionality to your WordPress (WP) site? Then look no further. This guide will cover all the necessary steps to get your custom JavaScript working in WP. This guide includes: Setting up a Child Theme. Using a File Manager. Learning where …
JavaScript: How this Really Works
The purpose of this is to provide (or maintain) context to a function. This does not refer to the function itself. This does refer to the owner of a function. This uses a strict set of rules to determine its context. The ambiguous this Note: …
Web Tips: How To Hard Reload Your Browser
Caching is how we store parts of the internet on our computers. Websites do this for a multitude of reasons, such as reducing load times, saving user preferences, search histories, etc. Though caching is very helpful, it can sometimes cause unintended behavior if your browser …