Josh Writes

Small boy with big dreams.

  • The Hedgehog and the Fox: Which one are you?

    Recently, my father brough to my attention an essay by Isaiah Berlin. The essay was based off of a quote by Archilochus. “The fox knows many things, but the hedgehog knows one big thing.”— Archilochus, 7th century BCE The thing is – this is the only piece that survives of the poem – just one…

  • Why some problems never go away — The nature of wild problems.

    Problems are something everybody experiences n their lives. Perhaps it’s simply solving a coding bug or a math problem or it’s the problem of choosing a career or a university. Some problems — we consider hard, others we consider it easy. The way we look at a problem drastically impacts the approach we take to…

  • Introduction to DOM and the basics of DOM Manipulation.

    Hey everyone, In this blog let us discuss Document Object Model or easily known as “DOM”. The Document Object Model (DOM) is really one of the most important things you need to learn in web development, however it can seem slightly confusing at first. Even I didn’t understand it in the first place! That is…

  • 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)….