This is a solution to the FAQ accordion card challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
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
- Solution URL: https://www.frontendmentor.io/solutions/faq-accordion-with-svelte-and-tailwindcss-FBU9QawLh
- Live Site URL: https://rm-fm-faq-accordion-card.netlify.app
- Semantic HTML5 markup
- Flexbox
- Mobile-first workflow
- Svelte - JS library
- Tailwindcss - CSS framework
I used this challange as a way to get better with the Svelte framework. Added subtle bits of animation to practice with the utilities Svelte has to offer. Also setup events so only one answer could be opened at one time.
- Website - Ryan Menner
- Frontend Mentor - @rmenner
- Twitter - @ryanmenner