Art 101, Spring 2015: Homework 03
NOTE:
M1 = Myers, Smarter Way HTML & CSS
M2 = Myers, Smarter Way JavaScript
Assignments, Tuesday, 4/14
A. From M1, read the text, Chs. 23-33, and do the corresponding online exercizes.
B. Update the website for your homework for this course.
- B1. Create a folder in your website for your homework for this week, named "week-03"
- B2. Edit your homepage, choosing fonts, colors, borders, margins, etc, as you please.
Include an image on the page.
A link on your homepage should point to the new folder
- B3. Create an index file, "index.html" for the new folder
Assignments, Thursday, 4/16
C. From M2, read the text, Chs. 21-30, and do the corresponding online exercizes.
D. Create a triple (hm-03.css, html, and js) to improve Bob Dylan's
grammar by replacing
every "'n'" with "and" in the lyrics of "Blowin' in the Wind."
- D1. Obtain the lyrics from the internet, eg, bobdylan.com.
- D2. Obtain an image of Bob Dylan from the internet.
- D3. Place the image on your HTML page for this assignment.
- D4. Format the lines as paragraphs in a blockquote in your HTML file, with a cyan background.
- D5. Format the lines as an array of strings in your JS file.
- D6. Process each line with a for loop to replace each "'n'" with "and"
You may use example 3-02.
- D7. Store the edited lines in another array.
- D8. Use an alert to report the revised lyrics.
- D9. Also report the average number of characters in a line, as an integer.
You may use example 3-01.
- D10. Post your homework D in the folder for this week.
Revised 23 March 2015 by Ralph Abraham