Skip to content

aemann2/faq-accordion-card-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background


Link to my solution

My first accordion card. This was much more difficult than the profile card, as I had trouble getting the two sides of this card to work right. It basically does what it's supposed to, but its overstyled. Even so, I learned a lot and got to use some Javascript, which, truth be told, isn't very DRY as it now stands. I plan to go back over this and overhaul it. You can see my trials and tribulations in the comments on the Frontend Mentor website.

The challenge

Your challenge is to build out this profile card component and get it looking as close to the design as possible. You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.



Front-end Style Guide

Layout

The designs were created to the following widths:

  • Mobile: 375px
  • Desktop: 1440px

Colors

Primary

Text

  • Very dark desaturated blue: hsl(238, 29%, 16%)
  • Soft red: hsl(14, 88%, 65%)

Gradient

Background gradient:

  • Soft violet: hsl(273, 75%, 66%)
  • Soft blue: hsl(240, 73%, 65%)

Neutral

Text

  • Very dark grayish blue: hsl(237, 12%, 33%)
  • Dark grayish blue: hsl(240, 6%, 50%)

Dividers

  • Light grayish blue: hsl(240, 5%, 91%)

Typography

Body Copy

  • Font size: 12px

Font

Releases

No releases published

Packages

No packages published