Welcome! These are homework exercises to accompany the Intro to HTML Curriculum
For this week's homework assignment, create a website to show off your new skills.
Core HTML5 skills you should be able to include on your page(s):
- A nav bar with a few links that either navigate to other pages or act as anchor tags.
- A heading to signal something important or declare a new section/paragraph.
- A couple paragraphs describing the amazing things you want to share. Remember to use emphasis on key words!
- A list of key things to know about something in your paragraph. Why not do an ordered list and unordered list?
- An image of something relevant and visually appealing. You can store your image as an asset in your project folder or link back to the source on the web. The link should be clickable, but the image doesn't need to be.
- A footer at the bottom of the page declaring your copyright on such a wonderful write-up, and make sure you use the copyright symbol!
- Your page should validate in this at this link: W3 Validator.
- Keep your code readabable and maintanable for your future self and future contributors.
You can always check the Class 1 slides for help.
For this week's homework assignment, we will style our homework1.html file with a new homework2.css file.
Here is what I would like to see at minimum on each lovely page:
- Create a style sheet and link to it from your HTML
- I like borders on images, add borders to all images you have. (Hint: border properties look like this 'border: 1px solid black;'.) Experiment!
- Your Headings should be in Georgia font.
- Your paragraphs should be in Helvetica.
- Footers are probably meant to be centered.
- Extra points for finding a nice background image.
Hint: you're going to want to use the url() function to set up a background. If your text becomes hard to read, extra EXTRA points for setting a background color on your text-based elements.
- Center those images using CSS!
- Try to make your borders have rounded corners. Google a bit. CSS3!
- Your page should still validate in this at this link: W3 Validator.
You can always check the Class 2 slides for help.
For this week's homework, we are going to use advanced CSS to style our homework1.html. Save your homework2.css file as homework3.css and have at it!
Here are this week's homework activities:
- Create several divs of various widths, heights, and colors. Use margin to push them around the page.
- Make some of the <div>'s into links (anchors). Then, make the background color of the div change on mouse over.
- Try to position some of the <div>'s relative-ly in a vertical line down the middle of the page.
- Create a class that you can use with <span> tags to make certain text twice the default size.
- Extra credit: Use images as links and change them on mouseover. This one is challenging BUT VERY FUN! Try searching fro "Turn links into images CSS".
You can always check the Class 3 slides for help.