MahdiSohaily / faq-accordion-card-main

This is simple faq-accordion-card-main and the user have to 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

Home Page:https://MahdiSohaily.github.io/faq-accordion-card-main/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - FAQ accordion card solution

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.

Table of contents

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

Desktop version Mobile Version
Solution Screenshot Solution Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • sass - CSS preprocessor
  • vite.js - Vite is a build tool

Author

About

This is simple faq-accordion-card-main and the user have to 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

https://MahdiSohaily.github.io/faq-accordion-card-main/


Languages

Language:CSS 49.8%Language:HTML 41.3%Language:JavaScript 8.9%