Intro to Web Development Homework Review
Homework – Class B Lists Read Chapter 4 Lists, pages 62-73 of text: http://scottsdevelopers.com/html-book.pdf Create a web page lists.html : This web page should present an unordered list of three countries in Central America. Under each country nest an ordered list of two cities in that country. Under each city nest an unordered list of two good restaurants (make up the names).
Inserting sublist under "Ham" list item
Inserting sublist under "Ham" list item
Inserting sublist under "Ham" list item
Inserting sublist under "Ham" list item Iinsertion point
Replacing "Ham" with an embedded list:
Replacing "Ham" with an embedded list:
Voila!
Homework (Goal) Write out Names of Countries, Cities, and Restaurants
Approach
Approach
Modify html5-simple.htm Save on Deskstop as restaurants.html Step 1: Modify html5-simple.htm Save on Deskstop as restaurants.html The file html5-simple.htm is on www.scottsdevelopers.com | HTML | HTML Templates | HTML5 Simple
Note: html5-simple.htm uses 2 spaces for tabs. Set Atom to do the same, if necessary. View Atom "Settings" Ctrl-, Select "Editing Section" Scroll to bottom, set tab length to 2 The file html5-simple.htm is on www.scottsdevelopers.com | HTML | HTML Templates | HTML5 Simple
Programming Standards File Name, <title>, <h1> Consistent File Name Title Element <h1> Element
Step 1: (arrange on Desktop) Atom Chrome Arrange Desktop with Atom and Chrome
Step 2: Create Outer List Level
Step 2: Atom Chrome
Step 3: Duplicate Outermost List Level
Step 3: Atom Chrome
Step 4: Update middle and Innermost lists
Step 4: Atom Chrome
Step 5: Add 2nd Restaurant
Step 5: Atom Chrome
Step 6: Cut Out Restaurant List Hhighlight entire lines holding down "Shift" and down arrow
Step 6: Select Restaurant List Hhighlight entire lines holding down "Shift" and down arrow
Step 6: Cut Out Restaurant List (Ctrl-X) Shift-Del
Step 7: Make Room for Restaurant List Inside "City" (Enter) Insertion Point Shift-Del
Step 7: Make Room for Restaurant List Inside "City" Insertion Point Shift-Del Insertion Point
Step 7: Paste (Ctrl - V, Tab) Shift-Del
Step 7: Atom Chrome
Step 8: Duplicate City List Hhighlight entire lines holding down "Shift" and down arrow
Step 8: Select City List Hhighlight entire lines holding down "Shift" and down arrow
Delete City List (Ctrl-X) Step 8: Delete City List (Ctrl-X) Hhighlight entire lines holding down "Shift" and down arrow
Step 8: Paste City List (Ctrl-V) Hhighlight entire lines holding down "Shift" and down arrow
Step 8: Paste Again (Ctrl-V) Hhighlight entire lines holding down "Shift" and down arrow
Step 8: Atom Chrome
Step 9: Select Cities List Hhighlight entire lines holding down "Shift" and down arrow
Step 9: Delete Cities List (Ctrl-X) Hhighlight entire lines holding down "Shift" and down arrow
Step 9: Paste Cities List (Ctrl-V) Hhighlight entire lines holding down "Shift" and down arrow
Step 9: Atom Chrome
Step 10: Duplicate Country List
Step 10: Delete Country List
Step 10: Delete Country List
Step 10: Paste Country List Twice
Step 10: Paste Country List Twice
Step 10: Atom Chrome
Update Names