This is a solution to the FAQ accordion challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- Hide/Show the answer to a question when the question is clicked
- Navigate the questions and hide/show answers using keyboard navigation alone
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page
- Solution URL: Front End Mentor solution
- Live Site URL: Live Site
- Semantic HTML5 markup
- Flexbox
- Mobile-first workflow
- Less Css compiler
- Git
- I enjoyed learning more about css selectors. I will continue using css over javascript any day
details[open] .icon {
background-image: url(/assets/images/icon-minus.svg);
}
- JavaScript. I absolutely suck at it.
- Github - Julia
- Frontend Mentor - @ShalomiAhavah
I've just completed a front-end coding challenge from @frontendmentor! 🎉
You can see my solution here: https://www.frontendmentor.io/solutions/faq-accordion-component-html5-css3-no-javascript-JAwH5pR7aX
Any suggestions on how I can improve are welcome!