Josh Writes

Small boy with big dreams.

  • The easy guide to Conditionals and If Statements in JavaScript

    The easy guide to Conditionals and If Statements in JavaScript

    Hello everyone, welcome to my blog, In this blog post, we ‘ll be learning about conditionals in JavaScript. Conditional statements are one of the most important tools in programming, allowing code to execute specific actions based on whether a condition is true or false. They’re basically the code that makes decisions. This makes our code…

  • JavaScript Loops are Easy!.. (actually)

    JavaScript Loops are Easy!.. (actually)

    Hello, welcome to today’s blog! My names Josh Garrett!Hello, welcome to today’s blog! My names Josh Garrett!Hello, welcome to today’s blog! My names Josh Garrett! Oh, woops! Accidentally used a loop heh. 😉Today we shall learn about loops in JavaScript! Let’s get started! Introduction You’re a startup developer, and you just received an assignment: create…

  • Understanding Functions in JavaScript

    Understanding Functions in JavaScript

    Imagine you need to add two numbers multiple times in your code. You could write the same addition statement over and over, but that’s inefficient. Instead, you can use a function—a reusable block of code that performs a specific task whenever called. Why Use Functions? A key principle in programming is DRY (Don’t Repeat Yourself)….

  • Operators, the bare bones of JavaScript. (And how to use them.)

    Hi everyone, welcome to today’s blog! We’re going to be learning about operators in JavaScript. they’re the bare bones of JavaScript and they are seen everywhere, from the simplest to the most complex code. Without holding you any further, let us dive into the lesson! Oh and if you’re a more “visual” learner than watch…

  • Here’s how I passed 10th grade while being homeschooled.

    When I first heard about homeschooling, I wasn’t sure that it was the right choice compared to traditional schooling. However, at that time, traditional schooling was a mess. This was during the lockdown in 2020, and due to the sudden change into online schooling, I wasn’t able to keep up. I was thrust into a…

  • The Difference between Objects and Arrays

    Introduction Hello everyone! In this blog, I shall be helping you understand two essential topics in JavaScript: Objects & Arrays. These tools are really useful because they help us organize and manage data properly, whether it’s a list of items or information about a character in your game. By the end of this video, you…