An open API service indexing awesome lists of open source software.

https://github.com/hadodev/faqaccordion

Frontend mentor challenge: FAQ accordion
https://github.com/hadodev/faqaccordion

accordion css css-flexbox css-grid details-summary html html5

Last synced: 3 months ago
JSON representation

Frontend mentor challenge: FAQ accordion

Awesome Lists containing this project

README

        

# 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)
- [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 the questions

### Screenshot

#### Desktop screenshot

![](./desktop.png)

#### Mobile screenshot

![](./mobile.png)

### Links

- Solution URL: [Solution URL here](https://github.com/hadodev/FaqAccordion.git)
- Live Site URL: [Live site URL here](https://hadodev-frontendmentor-faqaccordion.netlify.app)

## My process

### Built with

- Semantic HTML5 markup
- Vanilla CSS
- CSS custom properties for colors
- Flexbox for summary tag
- CSS Grid for body tag
- Responsive design based on clamp() function

### Useful resources

- [CSS reset](https://piccalil.li/blog/a-more-modern-css-reset/) - Modern CSS reset.
- [Image compressor](https://imagecompressor.com/) - This online image optimizer uses a smart combination of the best optimization and lossy compression algorithms to shrink JPEG, GIF and PNG images to the minimum possible size while keeping the required level of quality.
- [@font-face generator](https://transfonter.org/) - Modern and simple css @font-face generator.

## Author

- GitHub - [Hado Dev](https://github.com/hadodev)
- Frontend Mentor - [@hadodev](https://www.frontendmentor.io/profile/yourusername)

## Acknowledgments

For all authors who publish open source ressources and contents freely available and make Internet more awesome.