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: Add solution URL here
- Live Site URL: Add live site URL here
- Semantic HTML5 markup
- Flexbox
- CSS Grid
- Mobile-first workflow
Learned to use an anonymous function inside the addEventListener command to call another function previously defined. Used "for" to create the click events for each of the arrows and questions
- Website - Felipe Thomé
- Frontend Mentor - @yourusername