Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 11 months ago

FAQ-accordion_PAGE

Utkarsha Nikam•120
@utkarshanik
A solution to the FAQ accordion challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I will try to use css position more effectively .I will try to use css box model more efficiently for styling

What challenges did you encounter, and how did you overcome them?

There were few , like fitting background image perfectly. i learned that setting bg image with css and using html varries little bit. html gives us more comntrol. then adding eventlistner for showing respective answer when the plus img is clicked was a great challenge , i was having issue here for showing appropriate ans for selected question i managed it by looping all question card and adding click event on respective plus img, then i got the right answer. Keyboard navigation was another thing,where i was unable to move index and set boundaries for it like not below 0 and greater that 4 so i solved it by strorin index and do +/- and set boundaries using (index % que.length) .

What specific areas of your project would you like help with?

i think i am unable to set font size appropriately, like i get confused how to make its size larger using font size or font weight. how can i center a div using top , bottom [positon absolute] if i want that div on top of other.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Utkarsha Nikam's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License