Sample Video Frame

Created by Zed A. Shaw Updated 2024-02-17 04:54:36
 

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.

Previous Lesson Next Lesson

Register for Learn JavaScript the Hard Way

Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.