This time, the content is a recipe, with an image. The files can be had here. Like before, read the content, and come up with a reasonable layout.
Before moving to a responsive site (which changes according to breakpoints established by media queries), a site should be flexible, or fluid, at least responding to the size of the browser window. We are staying with the desktop here, for the time being.
Width measurements should be made in terms of percentages. Type height should be set in ems (or rems). Line height is set with a number, with no unit.
- With this exercise, all CSS will be contained in a
linked CSS file.
- The entire page should be a Reasonable© width, centered in the browser window.
navshould be side-by-side, as they were in the previous exercise.
- The HTML syntax needs to be correct.
- The HTML file needs to reside in a directory (this is four) inside whatever you called the exercises directory, and will be named
index.html. Get used to it.
- CSS needs to to place the header above main, with nav to either side of main, followed by the footer.
- This file must contain anchors back to your home page and the index page for exercises.
- As with the all assignments, once the local version is finished and tested, upload the changes to the server, and test from there.