12: Functions, Files, Variables

We are now going to practice the functions you just learned about by combining them with files and using variables, both in your JavaScript file and inside the functions. Just as with earlier challenges, your job in this is to take the small amount of code I've started here and expand on it in as many weird and clever ways as you can. To get your creative juices going, I've written this poem of random words to use:

The living light I once
could have progressed to vermilion
and concerned a compact miniscule
but no, that wasn't
it was this once in a million
terrible ways of broken chance

Put that in a file, or write your own sequence of random lines to play with in your JavaScript file.

The Code

Learn JavaScript Today

Register today for the Beginner Basics course and get the new releases by just paying the difference. There's also special discounts for existing customers when new courses are released.

Still Not Sure? Check out more curriculum!