Housekeeping๐
- Assignment 2 due Wednesday, January 24th
 
1. Activity: Dissect a nav menu๐
Instructions
Search for an example of a horizontal navigation menu online that you think you can duplicate.
- Using the eyedropper tool, create a color palette based on your selected menu.
- Donโt forget hover and active states.
 
 - Using the Font panel of the Inspector, try to find the font(s) used in the navigation.
 - Turn on the phone emulator in the inspector and open the mobile menu on your selected site. Take a screen cap of this menu for reference in the next activity.
 
2. Accessible Horizontal Navigation๐
Materials
- Inspiration: Tonyโs nav banner research
 - Styling links as buttons
 - Sample Code
 
3. Activity: Make your own vertical nav menu๐
Try to duplicate the nav menu and banner using todayโs slides and sample code.
- Create a list of HTML links using the 
<nav>and<ul>elements. - Using CSS, remove the default bullets and padding from the 
<ul>. - Make your links clickable by adding padding (and by making your links block-level).
 - Define your colours according to your selected palette from the earlier activity
 - Define your fonts and any other styles needed to match your nav bar to your online example.
 
4. Demo: Flexbox Basics๐
Materials
5. Activity: Horizontal navigation with Flexbox๐
Try to duplicate the nav menu and banner using todayโs slides and sample code.
- Set your 
<ul>todisplay: flex. - Choose a justification setting based on your example navigation.
 - Stretch: Create a list of 
<img>elements from Lorem Picsum and create a gallery with Flexbox.- What element will be your flex container?
 - Try using 
gapto space out your images 
 
Today's Achievement๐
Note: for the rest of this course, the Proof of Work portion of the Daily Achievements will be 100% of the marks awarded. The Learning and Reflection portion are no longer for marks.
Complete FlexBox Froggy
Try to complete all 24 levels of the Flexbox Froggy learning game. Take a screencap of the expanded Level Menu to show how many exercises you completed.
You will receive partial marks for each level you complete (around 1/3 marks for each 8 levels completed).
Prep๐
Reading list
Watch list
- Jenn Simmons: Flexbox vs. CSS Grid โ Which is Better?
 - Net Ninja: Creating a Menu with Flexbox
 
Digging deeper (optional)
- What the Flexbox!?!
- A 20-video course on Flexbox by Web Bos;
 - Watch these videos if you want to learn more about Flexbox than what we cover in class.
 
 
 
