Resources
- //INIT: Creating arrays
- //PROCESS: Using arrays
Saving your work
Use Save as...
to save the empty
template as
"3.06S-BucketList-LastName.html
"
in your Computer Programming directory.
The assignment
Use arrays and .join()
to create a bucket list of
things to do during your lifetime.
The phrase bucket list was inspired by a
2007
movie starring Morgan Freeman.
For example
Drapak's bucket list
Hints
-
Create a
<div>
withid="outputId"
in the body of your code -
Create a button that will trigger
mainProcedure
- initialize your bucket list array
-
create an output function that will insert a result into
outputId
-
create a process function that will
.join()
your bucket list array together -
create a
mainProcedure
function that will pass the bucket list array as an arugment/parameter to your process function, and then pass the results to your output function - reread //PROCESS: Using arrays for more info