Putting things together. If by things, you mean strings. Concatenation (or concat for short) is a way of combining the text of two strings together into a variable. Watch the example in this video — as it's much easier to understand when you see it in action.
DOM stands for Document Object Model. The DOM is (more or less) what we call the HTML once it all loads in your web page. Watch this video to see it in action.
addEventListener listens for when a user "clicks" on a button. It can also be used to listen for when the user is typing, when the page fully loads, and much, much, more.
getElementById() and getElementsByClassName() are similar to our friend querySelector(). Watch this video to learn how they can come in handy.
The fundamentals of creating a good function. Let's start by adding two numbers together
How many letters? Create a function that answers this question.
Using the which event property we can tell if the user pressed the keys down. Actually, we can even "listen" to see what keys specifically they are typing. Let's make the NSA proud! This is 'merica goddammit and I'll listen in if I want to!
Let's take all the "images" and assign pull out each "image" with the function forEach()
This week we'll build a SoundCloud music app, using the SoundCloud API. Along the way we'll learn about objects, anonymous functions, Promises, classList, localStorage, and more.
Read through the API documentation, and refactor the SoundCloud code into our project.
What's the difference between a basic "function" and an "anonymous function?" Find out in this lesson!
Of course we could wrap all our code in multiple functions, but after writing 10,000 lines of code you might be able to imagine how this could get sloppy. So instead, we'll use an object. In this video I'll show you how!
Grab some tea, and join me! In this video I'll introduce you to: classList, appendChild() and createElement()
Let's go back to the SoundCloud API so we can get some music playing with embed
Your homework is to apply your chart making skills to something useful in your life, or in someone else's life.