Skip to content

BikeInMan/fementor-02-faq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 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

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS Grid
  • Mobile-first workflow

What I learned

  • How to use ::after for attaching an icon to a text element
  • How to use JavaScript for toggling the question
  • How to center and place images in the right spots
  • How to use gradients
  • How to use divs to display images from css
  • How to use media queries effectively to go from mobile view to destkop
  • How to use grid and grid-areas

Continued development

  • Placing of stylish background images is a major problem and I think I should do more projects with images to get comfortable with complex visual elements.

Author

Acknowledgments

All thanks to frontend mentor for providing such a great challenge.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published