Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Mobile-first design using bootstrap and flexbox

P

@cleyrolsc

Desktop design screenshot for the FAQ accordion coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

I was able to do it in under 3 hours. I thought it was going to take me a lot more to do it.

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

How to travel through the DOM, I had to check on some documentation and review some previous courses to get to do it correctly.

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

DOM traversing is an area that I need to keep working on to get better at it

Community feedback

P

@cleyrolsc

Posted

Hello @ChamuMutezva, thank you very much for the feedback. I highly appreciate it. I will start looking into this things moving forward.

When it comes to the unit used, usually the desings come with px instead of rems/ems, would it be a good practice to simply convert them, or still use them as instructed?

0

T
Chamu 13,110

@ChamuMutezva

Posted

@cleyrolsc ,

The design is just a guide , apply any techniques including converting any values for font sizes to rems.

Marked as helpful

0
T
Chamu 13,110

@ChamuMutezva

Posted

Hi Cleyrol Santana

I have gone through your project, here is some issues to look at:

  1. One of the images has the following alt value alt="star-icon" , in my opinion this image should have an empty value because it is just a decorative image. An alt value has more to do with the content of the image (the message carried in the image) rather than what the image is. The alt value has to be descriptive such that in the event that the image fails to load , the meaning presented by the image will still be clear.
  2. Use semantic html where possible to improve the accessibility of the site, the elements that you used for the questions and answers are not accessible when using a keyboard. The user should be able to use a keyboard only if that's the preference of the user. One quick solution is to use the details summary element. You may then not need the javascript
  3. Generally , it is important to set min-height: 100vh; on the body element instead of height: 100vh; , as that allows content to be scrollable if it does not fit the body.
  4. The main element has width: 380px; , explicit sizes can cause responsive issues , where like in this case devices under 380px will not be able to view the page in full
  5. Font sizes should be in either rems or em, see the following article for a detailed explanation font sizes
0

Please log in to post a comment

Log in with GitHub
Discord logo

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