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

Article preview component with Mobile-first-design approach

@lere22

Desktop design screenshot for the Article preview component 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 think I'm proud of how to use what I learned so far, such as how to do DOM and event handler to show/hide the element on my website.

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

The challenge is how to show/hide the element with a JavaScript approach. I want to do it with conditional if..else to manipulate the aspect but when I try to look at the documentation via MDN or W3Schools there's a method called "toggle" and I try to implement that method to my code and it looks good and simple too.

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

I want to know if there is a simple way to toggle an element instead of the one I'm using and maybe some advice to improve the accessibility of my code.

Community feedback

Boxerā€¢ 130

@morshed-murad

Posted

it was good

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