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: Click Here!
- Live Site URL: Click Here!
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- JavaScript
If you want more help with writing markdown, we'd recommend checking out The Markdown Guide to learn more.
These links helped me solve the problem I had with only one element overflow
- stackoveflow - Allow specific tag to override overflow:hidden
- stackoveflow - Overflow only certain elements