Design comparison
Solution retrospective
I don't think I've done a great job with this one would appreciate any feedback! Thanks.
Community feedback
- @buneeIsSloPosted almost 3 years ago
Hey! @rabiharbj, Good job on the challenge. Your webpage responds very well. Here's a few suggestions from my side:
-
In JavaScript you should use
===
and!==
to check for strict equality and strict inequality respectively. So on line26
in your script file, change the!=
to!==
-
I you weren't aware, You solve this challenge without any JavaScript using the
<details>
tag.
Hope this helps :)
Marked as helpful1 -
- @rabiharbPosted almost 3 years ago
Much appreciation @bunee. Thanks for the JS fix, helps indeed. I was aware of the details tag I just didn't know I can customize it with CSS, but after your eye-opener, I did some digging and found a way.
0
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