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

Blogr landing page

Aleksandraā€¢ 360

@alexattt

Desktop design screenshot for the Blogr landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


First solution of this year. šŸ˜„šŸ˜Š

Community feedback

Malesela Kgobeā€¢ 555

@M-Kgobe

Posted

Hi Nice work on this one.

I have a suggestion to reducing your JS lines of code. since your dropdown elements have similar classname, instead of getting your elements one by one, you could assign them to one variable by using querySelectorAll/getElementsByClassNames, therefore instead of having mutliple eventlistener, you could use a ForEach function to iterate through classes you click on.

Marked as helpful

0

Aleksandraā€¢ 360

@alexattt

Posted

@M-Kgobe thanks for suggestion! Will try that out indeed.

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