Skip to content

paulzala/frontendmentor-faqaccordiancard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

screenshot-mobile screenshot-desktop

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • JavaScript

What I learned

Some tricks on having it look like images are cropped, such as making them the background of an element or placing images within positioned divs that don't allow overflow.

Useful resources

Css-tricks as always

About

Challenge for Front End Mentor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published