- Learn and apply CSS Selectors
- Learn and apply CSS rules
- Understand the markup/styling separation
- Competencies:
- Selectors
- Pseudo Selectors
- Box Model
- Media Queries
- Floats/CSS Grid/Flex
- Positioning
- Overflow
- Background-image
- Layout: https://learnlayout.com/
- Selectors: https://flukeout.github.io/
- Flex: https://flexbox.io/
- CSS Grid: https://cssgrid.io/
- Implement the style depicted in style1.png. Try to get as close as possible.
- Implement the mobile styles in style1-mobile.png
- Implement the style depicted in style2.png. Try to get as close as possible.
- Implement the mobile styles in style2-mobile.png
- Edit the HTML so it reflects your own information
- Implement your own Style
Note: Before reaching the last step, you should not touch the HTML. You may change names, texts, and images to personalize the CV.
- Fork this repository then clone the fork to your pc.
- create a file in the directory
public/style1/
calledstyle.css
- Open this file in your text editor (VScode, Atom, Sublime...)
- add a simple instruction to it (such as:
body{background:red}
) - Open
public/style1/index.html
, and add a line that loads the new css file you created - Load
public/style1/index.html
in your browser - Begin implementing the styles!
- When you're done, commit
- Copy the directory
public/style1/
and rename itpublic/style2/
- Open the file
public/style2/style.css
and empty it - Follow the same instructions as above
- Some images are used in this one; feel free to replace them with your own images if you prefer
- When you're done, commit
- note: You CANNOT do this step without a previous commit
- You NEED at least one commit with the HTML untouched before beginning this part
- If you don't have a commit with the HTML untouched, DONT touch the HTML, your exercise is VOID
- Edit
public/style1/index.html
and replace the information inside with your own - Once you're done, copy the file to
public/style2
to replace the previousindex.html
- When you're done, commit
- Don't panic! One step at a time
- Don't forget to push back changes from time to time (
git add -A
, thengit commit -m "message"
thengit push -u origin master
)