November 14, 2022 in Learn
JavaScript Array Methods: map()
Still using a for loop to iterate over a collection of array elements? Try out this javascript array method known as map() instead! What is map()? Accordion the MDN documentation, the map() method creates a new array populated with the…
November 4, 2022 in Learn
JavaScript Array Methods: forEach()
Introduction Being able to loop over items in an array is a crucial skill to understand as a developer. A great way to do just that is by using a popular JavaScript array method; forEach. This method allows you to…
October 17, 2022 in Learn
JavaScript Basic Array Methods
Arrays are used to store a collection of multiple items under a single variable name. This collection could be things like strings, numbers, or even a mix of different data types. Sometimes we need to update or manipulate our arrays…
October 5, 2022 in Learn
JavaScript Emoji Selector
I’d like to show you how we can create an easy-to-use emoji selector for any website or application. We’ll use the browser’s built-in fetch API to connect to the open-emoji API to display a list of all emojis. If you’d…
September 26, 2022 in Learn
JavaScript Accordion Menu
Accordions are everywhere on the web and even in mobile apps. They’re a great way to show and hide content based off user interaction. In this guide, I’ll go over how to create an accordion using HTML, CSS and a…
September 14, 2022 in Learn
Should I Learn HTML Before JavaScript?
Once you’ve decided to pursue front-end web development, you might be overwhelmed with deciding where you should start. Do you learn HTML or JavaScript first? How long will it take to learn them? What about CSS? The short answer: You…
August 23, 2022 in Learn
How to Build a JavaScript Search
Being able to search and/or filter through your website’s data is a great feature to implement for your users and setting it up isn’t as hard as you may think. It just requires a little bit of JavaScript. Today, I…
July 27, 2022 in Learn
How Much JavaScript Do You Need to Know Before Learning React?
Having a solid grasp of web development frameworks and libraries is crucial to understanding programming and script languages. Whether you want to specialize in front-end or full-stack development, Javascript is a relevant language to develop fully functional websites and web…
May 20, 2022 in Learn
How to Load an Image With Async JavaScript
There may come a time where you want to download an image in the background instead of seeing it load like this… …have it load like this: Overview Whether you have an image gallery with high-res images, or you’re creating…
May 17, 2022 in Community
Build a JavaScript Tip Calculator
Ever found yourself at a restaurant wishing you could figure out how to split the bill with your friends or family? Building a calculator that can handle that isn’t as hard as you think! I am going to take you…
May 7, 2021 in Learn
Beginning JavaScript
JavaScript Basics is the best beginner course for JavaScript at Treehouse. JavaScript is the world’s most popular programming language. What is JavaScript? JavaScript is a programming language that drives the web: from front-end user interface design to server-side backend programming,…
June 26, 2020 in Learn
Python vs. JavaScript Comparison for 2020
Programming in a new language can feel unfamiliar, intimidating, and tricky to navigate at first. There are new rules, syntax, and nuances to learn. I recently started learning Python again after years of programming in JavaScript. After diving back in…