From the course: Creating a Responsive Web Design: Advanced Techniques
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
About this lesson - CSS Tutorial
From the course: Creating a Responsive Web Design: Advanced Techniques
About this lesson
- In this lesson, we'll be converting the user experience of our menu system into a collapsible mobile menu for small screens. Now, in order to achieve this change in user experience for both interaction and animation, we'll need to add some JavaScript to our project. For this lesson, we'll write our own custom JavaScript file using the world's most popular, free and open-source JavaScript library, called "jQuery." jQuery allows us to more quickly script interactive and animanted user experiences by giving us a syntax that most closely matches the HTML and CSS selector syntax. Now, if you are familiar with JavaScript, or you have another animation script or framework you'd like to use, you can certainly follow along and use those frameworks instead. In either case, the process for adjusting our HTML and CSS to create the menu experience will remain the same.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
About this lesson46s
-
(Locked)
Relocating the nav element4m 33s
-
(Locked)
Adding a mobile link button4m 43s
-
(Locked)
Removing the header height restrictions2m 2s
-
Restyling the mobile menu2m 22s
-
(Locked)
Adjusting the logo to overlap the menu3m 58s
-
(Locked)
Adding JavaScript and jQuery to your project5m 32s
-
(Locked)
Attaching a click event to the mobile menu button4m 4s
-
(Locked)
Animating the height of the navigation4m 51s
-
(Locked)
Removing the style attribute from the nav element5m 21s
-
(Locked)
Where to go from here25s
-
(Locked)
-
-