This is a solution to the Intro section with dropdown navigation challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the relevant dropdown menus on desktop and mobile when interacting with the navigation links
- View the optimal layout for the content depending on their device's screen size
- See hover states for all interactive elements on the page
- Challenge URL: Challenge URL
- Live Site URL: Live site url
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Bootstrap icons for some icons
- Animate.css for simple animation
For this exercise, i learned how to handle image changes for different devices! Thought i faced quite a lot of difficulties with the navigation, both mobile and desktop
As you see below, at the header section of my website i have some classes that control the display of images depending on the user screen size
<div class="header_image">
<img class="d-sm-none d-block mobile" src="./assets/images/image-hero-mobile.png">
<img class="d-none d-sm-block desktop" src="./assets/images/image-hero-desktop.png">
</div>
-
W3schools how to section - I used the how to section to get ideas on how to arrange my navigation menu both on mobile and desktop
-
Bootstrap icons - I made use of the bootstrap icons for some icons, mainly the chevron in the mobile and desktop navigations
-
Animate css - I used animate css to setup the simple slide animation on clicking the mobile menu
- Website - Agbortoko Arreychuck
- Frontend Mentor - @agbortoko
- Twitter - @agbortoko_arrey