π Weight Converter β Space Weight Explorer π‘ Inspiration The concept of gravity varying from planet to planet is fascinating but often abstract to most people. We wanted to take this invisible force and make it personal and interactive. Everyone knows their Earth weight β but what about on Mars, Jupiter, or even Pluto? The idea behind Weight Converter was to help people connect with planetary physics in a way thatβs instantly understandable and fun.
π What it Does This web app allows users to:
Input their Earth weight (in kg or lbs)
Instantly see their corresponding weight on 9 celestial bodies:
Mercury
Venus
Earth
Moon
Mars
Jupiter
Saturn
Uranus
Neptune
Pluto
Display the results in a neat, responsive layout
Use cute planet emojis and facts to make learning fun
Itβs a gravity visualizer and weight calculator rolled into a beautiful, educational experience.
π How We Built It HTML: Structured the layout with clear input, output, and result sections.
CSS: Styled with modern design principles β clean, dark/light modes, and planetary themes.
JavaScript: Performed real-time calculations using surface gravity constants from NASA datasets.
We kept it lightweight and dependency-free, so it works offline and loads fast in any browser.
π§± Challenges We Ran Into Managing unit conversion between kg and lbs
Ensuring the results were scientifically accurate with consistent gravity values
Designing a responsive layout that works on all devices
Keeping the interface clean while showing 10 different celestial weights dynamically
π Accomplishments That We're Proud Of Transformed abstract gravitational science into a fun, interactive app
Built everything from scratch with just HTML/CSS/JS
Made it responsive and user-friendly for all ages
Fully deployed without needing backend or APIs
π What We Learned How to convert real-world physics into a user-centric experience
Working with JavaScript math functions and rounding logic
Enhancing frontend skills in layout, form handling, and interactivity
Improving accessibility and responsive design using pure CSS
π What's Next for Weight Converter Add support for more celestial bodies, like moons, asteroids, and exoplanets
Introduce visual animations showing your weight crushing down on each planet
Implement fun facts per planet (e.g., βYour weight on Jupiter is X β because its gravity is 2.5Γ Earthβs!β)
Export results as a card for sharing on social media
Build a progressive web app (PWA) version for mobile
Log in or sign up for Devpost to join the conversation.