Due Tuesday Oct. 8 at 11:59pm.
Open a new file
events.html and copy the following
starting code into it:
Also save the images of an apple and a wizard from the examples if you haven't done so already. You need to write the code for, and test, the following:
colorto change text properties.
innerHTMLsetting that we used in the examples in class).
story.htmlon your Desktop.
place. Feel free to change the beginning. Check your program after every change.
var person = "Mary";
Reload your page, and see it change.
var person = "Peter";
Change your solution to the previous task by letting the user enter the person's name as a prompt, then print a story with that name. You may take more inputs via a prompt, but that's not required. You may submit separate solutions for tasks 2 and 3 or just one for both.
This page is a part of CSci 1001 course web site.
The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.