Design comparison
SolutionDesign
Solution retrospective
Hello, everyone! I would really appreciate any suggestions about the second question container, unexpectidly in the active state arrow picture tends to disappear from time to time. I have no clue how to fix it because, the common code is written for all the question containers. Thank you!
Community feedback
- @kens-visualsPosted about 3 years ago
Hey @AnnaUlianova 👋🏻
I have some quick tips to help you fix the HTML issues and some other things.
- In this case, instead of
<section>
, I suggest using regular<div>
for a couple of reasons. First, when you use a<section>
you have to have a heading, likeh2-h6
. Next,<section>
is for bigger parts of a layout, such as, contact us about us, image gallery, etc. - For the box icon, add
aria-hidden="true”
, because it's for decoration. You can read more aboutaria-hidden
here.
<img id="main-pic" src="images/illustration-woman-online-desktop.svg" alt="" aria-hidden="true”>
I hope this was helpful 👨🏻💻 sorry, I'm not really familiar with jQuery, so I cannot answer the question about the arrow. Other than that, you did a great job, nicely done. Cheers 👾
Marked as helpful0 - In this case, instead of
Please log in to post a comment
Log in with GitHubJoin 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