stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

DEV369

@DEV369

Joined July 25th, 2026

  • 8Devlogs
  • 3Projects
  • 1Ships
  • 0Votes
I’m Himanshu, a Class 10 student, maker, and tech enthusiast from India. I love building things that combine hardware, software, and AI—from Arduino and Raspberry Pi projects to web apps, robotics, and futuristic interfaces.
I’m especially interested in electronics, programming, AI, and turning ambitious ideas into real working prototypes. I enjoy experimenting, learning by building, and working with other people who are equally excited about creating cool things.
Currently, I’m exploring robotics, embedded systems, web development, and AI-powered projects—and I’m always ready for the next crazy idea.
Ship Changes requested

What did you make?
A single-page app called Astronomy that pulls NASA’s Picture of the Day and shows the title, image/video, and explanation against a space-theme layout with zigzag clip-path side strips. It handles all three media types APOD returns (image, direct video, YouTube embed), shows a shimmering square placeholder until the image loads (then the box snaps to the image’s real aspect ratio), scales with vh/vw so it fits any screen, and includes a date picker to browse any day back to 1995. It auto-deploys to GitHub Pages on every push via GitHub Actions, with the API key injected as a secret so it never appears in public code.
What was challenging?

  • The Vite demo assets weren’t at the paths the tutorial listed, so I had to find the real locations before anything else.
  • Layout jumps: the first render dumped a full-size image; a forced 4:3 aspect-ratio cropped images and letterboxed videos. The fix (placeholder swap on onload, natural ratios with vh/vw caps) took the most iteration.
  • YouTube links silently break a tag — caught that and switched to iframes with a watch?v= → embed/ conversion.
  • Blank deployed page: forgetting base: ‘/nasa-apod/’ and setting Pages to the wrong source produced 404s that took a full deploy cycle each to diagnose.
    What are you proud of?
    The placeholder → aspect-ratio snap: it’s the clean part where the CSS state and JS loading timing combine so the page never jumps or shows a broken frame. Also the error path — response.ok checks surface NASA’s real messages instead of failing silently — and that the whole thing (build, tests via curl, deploy) is verifiable end-to-end.
    How to test it:
  • Live site: https://himanshu-2010.github.io/nasa-apod/ — no setup needed; it loads today’s image on open.
  • Use the date picker at the top: try 1995-06-16 (the first APOD ever) to confirm past dates, or a known YouTube day like 2019-07-04 to see the iframe branch.
  • Resize/responsive: shrink the window — the strips disappear under 600px and the media box tracks the viewport.
  • Error path: pick a date before 1995-06-16 (the picker’s min blocks it, but hitting the API out of range proves the .catch shows NASA’s message).
  • Local dev: npm install, set VITE_NASA_API_KEY, then npm run dev.
Try project → See source code →
Open comments for this post

18m 30s logged

working on the next version having oops concept and method overloading and more stuff like optimisation and stuff very exited for the first github release of this language 🥳

0
0
18

Followers

Loading…