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

Planets Facts Page in Vanilla JS

@RickHalmoguera

Desktop design screenshot for the Planets fact site coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


Wow! this project was very complex, since i did it only with Vanilla JS. I know that if I did it with React Js I would have done it much faster, but I wanted to do the challenge of doing it only with Vanilla Js. I also started doing it with SCSS but when I had to change the colors by planet there is no way to edit the SCSS from Js, so I had to remove it and work with the variables directly in CSS.

If you know of a way to edit variables in SCSS from JavaScript I'm all ears! Thank you!

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