- learn about the box model and be able to explain its properties
- demonstrate CSS specificity and inheritance to create and update styles
- implement a CSS reset and understand why it’s important for cross-browser development
- describe and use responsive units (px, em, rem, %, and vw.vh) to create a fully responsive website
In this project you will be styling a single page with more advanced CSS. This page is a take on the government's national parks website and includes some basic information about Yosemite National Park in California.
The styles in your design file include bright colors and fun icons to get people excited about exploring the outdoors. With a little work, this could even be refactored into a 3rd-party national parks guide site or blog.
Follow these steps to set up and work on your project:
- Create a forked copy of this project.
- Add your Team Lead as collaborator on Github.
- Clone your OWN version of the repository (Not Lambda's by mistake!).
- Create a new branch: git checkout -b
<firstName-lastName>
. - Implement the project on your newly created
<firstName-lastName>
branch, committing changes regularly. - Push commits: git push -u origin
<firstName-lastName>
.
Once your repository is set up, practice what you learned today to style the site according to the given design. Your complete project should look similar to the desktop image. You should take the following actions, at a minimum:
- Link your CSS stylesheet in the
index.html
and impliment a CSS reset - Markup html semantically, such that it can be styled according to the given desktop image
- Color the background of items in the navigation bar and footer with the following colors:
- Plan your Visit:
#FF764E
- Learn About the Park:
#5ED3EB
- Get Involved:
#FFCD69
- Plan your Visit:
- Change all font colors and styles according to design file
- Yosemite Park Guide font is called Chelsea Market and can be found on google fonts
- All other text is Roboto Mono, also available on google fonts
- Color the background of the main text body with
#DDB9A3
- Color the background of the footer with
#F9E7DC
- Bold the words "current fire restrictions" and "park entrance fee" according to the design file
- Apply box model properties (content, padding, margin, and border) to all content such that your webpage matches the design file. This will include at least:
- A round image in the header
- Round corners on navigation and footer items
- Header image and text side by side
- Centered content and margins around content
- Footer image positioning
Throughout your design you should avoid static units (pixels), and should instead use responsive units wherever possible.
The following goals are designed to stretch your knowledge and may require additional research beyond what was learned in class today.
- Add CSS animations (hover, mouseover, etc.)
- Design and execute your own pages for
Plan your Visit
,Learn About the Park
, orGet Involved
- Use favicon.io to convert the campfire and RV images to real favicons and use them in your project
- Host your website on Netlify.com
👋 Assignment help: w3 CSS tutorials
👀 Yosemite National Park Official Website
Follow these steps for completing your project.
- Submit a pull request to merge Branch into master (student's Repo). Please don't merge your own pull request
- Add your Team Lead as a reviewer on the pull request
- Your Team Lead will count the project as complete by merging the branch back into master