Skip to content
Submitted about 2 years ago

Planet facts website with React and Redux

react, redux
LVL 5
Abel Muro1,960
@AbelMuro
A solution to the Planets fact site challenge

Solution retrospective


This is one of my favorite projects. A website about the solar system! I really enjoyed working on this. The only challenge was maintaining the relative size of every planet's image (Jupiter is bigger than earth, mars is smaller than earth, etc...).

I ended up updating the JSON file with the width and height of every planet for desktop, tablet, and mobile. All I had to do was access the width and height properties from the JSON file and apply those properties to the planet's image with JS. This proved to be quite tedious, but the end result was worth it.

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Abel Muro’s solution.

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