Skip to content

Latest commit

 

History

History
91 lines (63 loc) · 3.62 KB

README.md

File metadata and controls

91 lines (63 loc) · 3.62 KB

Frontend Mentor - FAQ Accordion Solution

This is a solution to the FAQ accordion challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Frontend Mentor HTML CSS JavaScript Accessibility Responsive Netlify Status GitHub last commit

Table of Contents

Overview

The Challenge

Users should be able to:

  • Hide/Show the answer to a question when the question is clicked.
  • Navigate the questions and hide/show answers using keyboard navigation alone.
  • View the optimal layout for the interface depending on their device's screen size.
  • See hover states for all interactive elements on the page.

Screenshot

Desktop Screenshot

Mobile Screenshot

Links

My Process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Vanilla JavaScript for interactive functionality
  • Google Fonts - For font styling

What I Learned

During this project, I focused on creating an accessible and user-friendly FAQ accordion. Key learnings include:

  • Implementing JavaScript to manage accordion state while ensuring accessibility.
  • Using CSS transitions to smoothly animate accordion content.
  • Ensuring semantic HTML5 structure and ARIA roles for accessibility.

Continued Development

For future projects, I aim to:

  • Enhance my understanding of advanced CSS techniques and animations.
  • Explore more accessibility features and best practices.
  • Continue refining JavaScript for better performance and usability.

Useful Resources

Author

Acknowledgments

Thank you to the Frontend Mentor community for providing such engaging challenges. Special thanks to those who offered guidance and feedback throughout the project.