Good question. I'll demo that now, and I'll make a video for the future.
That's done with the script
tag. We can do a "view source" on almost any web page to see an example.
In just one week, we'll be able to do things like this: click example. To do that, we first have to learn about the DOM and event handlers. We'll get there.
We'll do a lot with MAP today.
We'll see some examples at the end of today. We have some other things to do first.
We'll use forEach
to replace loops.