Exercise 8: Fixed to Flexible Page Layout. Navigation using Unordered Lists
This exercise is a continuation of Exercise 7. In this Exercise we will use newer HTML Elements introduced in Exercise 7 including the aside and main tags for a 2 column format, then use CSS styles to make the page adjust from fixed to flexible. We will also experiment with navigation using lists.
Watch: the step by step Videos Lectures for Exercise 8.
Refer to: Chapter 14 and follow along in the Demos for Exercise 8. Be sure to experiment.
Folder Name: Ex8
Minimum Number of Pages/Documents Required for Exercise: 6
Create a minimum of 6 pages. All pages have the same content and tags used. Use the new tags covered in Exercise 7. Some of the activity is similar. Start with your Natural Flow page which has NO CSS added. Use the aside and main tags to create a two column layout. You will be working on the CSS for pages 2-6.
All Pages in the Exercise Must Link Together.
Use Brackets HTML Editor to create your pages.
Topic for this exercise: Your favorite style of music. Do a little research into this and use what you discover to make the one page of content required for this exercise.
Use at least one image in the Main area of your page.
You will use the same content on the first five pages. Page 6 will be your Artist Statement.
- Index.html Natural Flow
Create a page of content for each area using all the new tags listed in this exercise. Write your content in "Natural Flow" or the order it should be read. DO Not add CSS styles to this page. Be sure to add at least one image.
- Page2.htmlAdd CSS Styling
Using the same content as your index page - add your own styling to the CSS Document Styles (in the head of the document). Experiment adjusting the padding, margin and borders. Use the aside and main tags to create a two column layout. Use an overall div with an ID of "wrapper". Add CSS styles to give the wrapper a set width. Somewhere between 960px and 1200px is a good amount.
- Page3.html Using Percentages instead of Pixel Amounts
Use the same content (and styles) from your 2nd page. Change padding & margin to percentages. Set your "wrapper" to a width of between 98% - 100% . Use percentages for the widths on your Aside and Main areas.
- Page4.html Adding a max-width
Use the same content (and styles) from your 3rd page. Keep the percentages that you created for your wrapper, aside and main areas. Add a max-width: 960px (or 1200px); to the wrapper.
- Page5.html Navigation Using an Unordered List
Use the same content (and styles) from your 4th page. Work on navigation using an unordered list.
- Page6.html Artist Statement
Plan your pages out. Create a wireframe of your page layout. Develop a color palette and choose your fonts. Take this information and build out your Artist Statement page. Explain each piece of your design thoughts, layout, color pallete, and font choices, as if presenting this to a client.
- OPTIONAL Page7.html Adding Navigation in the Aside area
Use the same content (and styles) from your 5th page. Adjust as needed. Try adding the navigation into the aside area.
Review the Exercise 8 demo pages and video pages for more information.