Build a Responsive, Animated Accordion That Looks Pretty Good
Offered By: Kevin Powell via YouTube
Course Description
Overview
Learn to create a responsive and visually appealing animated accordion in this comprehensive tutorial video. Explore the process of building an accordion from scratch, starting with proper HTML structure and accessibility considerations. Dive into styling with CSS, including panel layouts, icon design, and typography enhancements. Implement JavaScript for smooth interactions and animations, while ensuring responsiveness across devices. Master techniques for improving user experience, such as keyboard navigation and reduced motion preferences. By the end of this 1-hour 18-minute tutorial, gain the skills to craft a polished, functional accordion that adds a delightful touch to your web projects.
Syllabus
- Introduction
- The inspiration for what I’m going to build
- Building things out the right way
- The HTML
- The SVG icons
- The generic CSS stuff
- Setting up the panel styles
- Styling the icons
- Setting up the size of the panels and fixing up the button
- Dealing with the overflowing text
- The JavaScript - adding the interactions
- Adding the animations
- Fixing up the typography and text positioning
- Making the text more readable
- Adding prefers-reduced-motion
- Adding a background to the titles
- Making it responsive
- Improving the keyboard interactions
- Using containment
Taught by
Kevin Powell
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Intro to Computer Science
University of Virginia via Udacity Web Development
Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX