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: bikeinman.github.io
- Semantic HTML5 markup
- CSS Grid
- Mobile-first workflow
- How to use ::after for attaching an icon to a text element
- How to use JavaScript for toggling the question
- How to center and place images in the right spots
- How to use gradients
- How to use divs to display images from css
- How to use media queries effectively to go from mobile view to destkop
- How to use grid and grid-areas
- Placing of stylish background images is a major problem and I think I should do more projects with images to get comfortable with complex visual elements.
- Frontend Mentor - @BikeInMan
All thanks to frontend mentor for providing such a great challenge.