fwd-tutorial #2: intro to javascript
Come for the poetry, stay for the controversy!
You can find the code for this web-poem JavaScript tutorial here:
In this tutorial, we’re going to allow the reader to change the colour of our web-poem text. It may not seem like it, but this is a hugely controversial topic. Even if we’re just dealing with a web poem, whether we allow the user to make changes and how we implement those changes is at the core of all computer science.
In TUTORIAL #1, we considered the concept of a “list“ and noted that it’s pretty fundamental to computer programming in general. Now we’re going to put our very own array to use, but first I want to get your opinion. Do you think we should allow the items in our array (also called ‘elements‘) to change? Whatever your answer is, try to think about the consequences of allowing a change like this before you actually look at the code.
If you’ve made it this far, then you’ll probably be interested in creating your own Glitch account. They've made a really friendly, supportive community where you can learn more about web development then practice what you learn!