Repository: sayyedaaman2/faq-accordion-main Branch: main Commit: b4b58cf7ade1 Files: 9 Total size: 26.9 KB Directory structure: gitextract_r18s7epf/ ├── .gitignore ├── README-template.md ├── README.md ├── assets/ │ └── fonts/ │ ├── OFL.txt │ └── README.txt ├── index.html ├── script.js ├── style-guide.md └── style.css ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # Avoid accidental upload of the Sketch and Figma design files ##################################################### ## Please do not remove lines 5 and 6 - thanks! 🙂 ## ##################################################### *.sketch *.fig # Avoid accidental XD upload if you convert the design file ############################################### ## Please do not remove line 12 - thanks! 🙂 ## ############################################### *.xd # Avoid your project being littered with annoying .DS_Store files! .DS_Store .prettierignore ================================================ FILE: README-template.md ================================================ # Frontend Mentor - FAQ accordion solution This is a solution to the [FAQ accordion challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/faq-accordion-wyfFdeBwBz). Frontend Mentor challenges help you improve your coding skills by building realistic projects. ## Table of contents - [Overview](#overview) - [The challenge](#the-challenge) - [Screenshot](#screenshot) - [Links](#links) - [My process](#my-process) - [Built with](#built-with) - [What I learned](#what-i-learned) - [Continued development](#continued-development) - [Useful resources](#useful-resources) - [Author](#author) - [Acknowledgments](#acknowledgments) **Note: Delete this note and update the table of contents based on what sections you keep.** ## Overview ### The challenge 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 ### Screenshot  Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it. Alternatively, you can use a tool like [FireShot](https://getfireshot.com/) to take the screenshot. FireShot has a free option, so you don't need to purchase it. Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above. **Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.** ### Links - Solution URL: [Add solution URL here](https://your-solution-url.com) - Live Site URL: [Add live site URL here](https://your-live-site-url.com) ## My process ### Built with - Semantic HTML5 markup - CSS custom properties - Flexbox - CSS Grid - Mobile-first workflow - [React](https://reactjs.org/) - JS library - [Next.js](https://nextjs.org/) - React framework - [Styled Components](https://styled-components.com/) - For styles **Note: These are just examples. Delete this note and replace the list above with your own choices** ### What I learned Use this section to recap over some of your major learnings while working through this project. Writing these out and providing code samples of areas you want to highlight is a great way to reinforce your own knowledge. To see how you can add code snippets, see below: ```html