Skip to content

Frontend Mentor - FAQ Accordion Card Solution


This is my Frontend Mentor - FAQ accordion card solution for the challenge outlined on Frontend Mentor.

The challenge

Users should be able to:

  • View the optimal layout for the component depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Hide/Show the answer to a question when the question is clicked

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Tailwind CSS - CSS framework
  • Browser-Sync - Browser Hot Reload