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 (It works WITHOUT Javascript)

P
Ronan 220

@CannyRo

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'm pretty proud of myself. I wouldn't do anything different; the challenge calls for the use of Javascript, but it's possible to get a similar result without a single line of Javascript.

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

Not using Javascript is one more constraint I've added to myself to solve this challenge. Simply use a checkbox input and play with the :has and :checked CSS selectors. Then all that's left to do is style the whole thing so that the result is visually effective.

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

Nothing in particular. I'm always open to criticism to keep improving.

Community feedback

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