Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zun-liang/fem-faq-accordion-card
Frontend Mentor Challenge Solution FAQ Accordion Card
https://github.com/zun-liang/fem-faq-accordion-card
css html javascript
Last synced: 9 days ago
JSON representation
Frontend Mentor Challenge Solution FAQ Accordion Card
- Host: GitHub
- URL: https://github.com/zun-liang/fem-faq-accordion-card
- Owner: zun-liang
- Created: 2023-02-05T10:26:54.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T18:29:39.000Z (11 months ago)
- Last Synced: 2024-01-01T19:33:00.740Z (11 months ago)
- Topics: css, html, javascript
- Language: HTML
- Homepage: https://zun-liang.github.io/fem-faq-accordion-card/
- Size: 410 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - FAQ accordion card solution
This is a solution to the [FAQ accordion card challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/faq-accordion-card-XlyjD0Oam). 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)
- [Author](#author)
- [Acknowledgments](#acknowledgments)## Overview
### The challenge
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### Screenshot
- Mobile screenshot: [here](./screenshots/screenshot-mobile.png)
- Desktop screenshot: [here](./screenshots/screenshot-desktop.png)### Links
- Solution URL: [here](https://www.frontendmentor.io/solutions/faqaccordioncard-using-html-css-and-javascript-A3eaqmaPbk)
- Live Site URL: [here](https://zun-liang.github.io/fem-faq-accordion-card/)## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Javascript
- Mobile-first workflow### What I learned
- positioning
- overflow
- NodeList### Continued development
- DOM
- React## Author
- Website - [Zun Liang](https://zunldev.com/)
- GitHub - [@zun-liang](https://github.com/zun-liang)
- Frontend Mentor - [@zun-liang](https://www.frontendmentor.io/profile/zun-liang)
- freeCodeCamp - [@zun-liang](https://www.freecodecamp.org/zun-liang)## Acknowledgments
Thanks so much for [Manoj Kumar Singh](https://www.frontendmentor.io/profile/dev-mksingh)'s generous help on solving the desktop view's overflow problem!