chap2assignRevK (1)
chap2assignRevK (1)
Chapter 2 Assignment
Create an html document called chap2assign.html using your text editor with JavaScript
in it, as explained in the following specifications:
1. Your name written within <title> tags in the <head> section and within <h1> tags
at the top of the < body> section.
2. Add a line using the following <h2>My Major</h2>. Then on the next line put
the name of your major in bold italics with a color of blue.
3. Add another line called My Favorite Movie also within <h2> tags. Put the
appropriate <script> tags to call a js (JavaScript external file) called
myFavMovie.js that will contain a description of the movie.
4. Following the description, insert an image from the movie. (You can just use the
appropriate html to do this.)
6. Using single line comment syntax, put a comment at the top of the code in the
myFavMovie.js file that contains your name.
Once you have completed this assignment, zip the html file, the js file and the image.
Submit the zip file in D2L.