- Due: Saturday Jan 22 @ 11:59pm
- Weight: 4%
- Build a simple and responsive horizontal nav bar using flexbox.
- Familiarize with
flex-wrapandjustify-content - Practice styling block and inline nested elements
- Build a basic component that can be reused in future assignments
- review this css-tricks article for info on creating a nav bar
- create a
navtag - inside of it add a
ul - add
liwithatags inside theul - stylize as you want
- background-color
- color
- font-size
- padding
- default list styles
- default link styles
- to make the nav links responsive to horizontal screen size, you will need to use
flex-wrap - you will likely need to adjust the
justify-contentproperty to tell your nav items how to justify themselves across the screen - Pay attention to what is a flex container and what is an item (note that containers can be flex items of their respective parents as well)
- 2pt for submission
- 1pt for syntax optimization and/or debug comments
- 1pt for flexbox usage and/or debug comments
- Create activity in codepen with a partner
- you will each have your own version of it by the end
- export as a zip file (see the bottom right of codepen for the export option)
- Submit your zipped file to brightspace along with a link to your codepen