Advanced Web Design Tutorial Submission
- Due Dec 4, 2016 by 10:55pm
- Points 50
- Submitting a text entry box
The goal of this project is to combine the layout principles from last week with an external style sheet.
We will make this page look like this page
or
. To do so, we add semantic layout tags so that the plain, white page can take advantage of the external style sheet.
Edit the html and css files linked below to meet the following conditions:
- Download the zipped folder adv-web-tutorial.zip to a flash drive or your computer.
- From the file manager, right-click on the
adv-web-tutorial.zip
file and choose extract all. Extract the folder to your flash drive or hard drive. - View the
index.html
file in the browser of your choice. - Open the
styles1.css
file in Notepad++. - Change the values for the text
color
,background
, andbackground-color
for various elements, such as, body, container, heading, nav, . . . - Change the container width.
- Don't change the width or padding for the nav or content. These are designed to add to 100%.
- For the footer, h1, h2, and anchor selectors, change the values of some of the properties.
- Add a section for h3, based on the h1 and h2 sections.
NOTE:em
is a relative measurement unit. So2em
is twice the size of the current font and1.5em
is 50% bigger. - Refresh the
index.html
file in your browser to see that your changes worked. - Open the
index.html
file in Notepad++. - Change the style sheet from
styles1.css
tostyles2.css
. Save this change and refresh theindex.html
file in your browser. - Open the
styles2.css
file in Notepad++. - Change some color values.
- Change the max-width of the container.
- Add a section for h3 with the following properties:
- font-size: 1.2em;
- font-family: "Comic Sans MS", cursive, sans-serif;
- Decide which style sheet you want to use for
index.html
. You will use the same style sheet for the next page,privacy.html
. - Open the
privacy.html
file in Notepad++. - Add the same style sheet link as in
index.html
. - Add a
<div>
element to the top of the body and the closing tag at the end of the body. - Add the id "containter" to the
<div>
. - Add
<header>
tags around the<h1>
block. - Add the
id
"title" to the<h1>
element. - Add the navigation section from the
index.html
file. - Place
<section>
tags around the main content of the page. - Add the
class
"content" to the<section>
block. - Remove the horizontal rule and last paragraph linking to the home page.
- Add the
<footer>
section from theindex.html
file and change the file linked there totips.html
with different link text. - Remove the
style
attribute from the<img>
element and add the "float-left"class
. - Save these changes and open
privacy.html
in the browser of your choice to confirm your changes worked.
Depending on your style sheet and color choices, your two pages might look like this:
or like this:
Submission requirements
- Upload your folder
adv-web-tutorial
to your WordPress File Manager. - Provide a link to your site, e.g., https://math.bluecc.edu/wordpress/user_data/LastName/adv-web-tutorial/
Be sure to check that the link works, i.e., that you can actually view the site.