🌌 NASA Pro - Explorer Dashboard
A dynamic new-tab dashboard built for the “Give Your Website a Pulse” challenge.
✨ Features
- Zero-Delay Backgrounds: Instantly loads a cached cosmic background, while gracefully fetching the latest NASA APOD image.
- Live Search Integration: Fully integrated web search (SerpApi) directly in the dashboard.
- Dynamic Glassmorphism UI: Custom CSS featuring smooth backdrop-filters and hover animations.
-
Custom Bookmarks Engine: An interactive widget to add and manage your favorite links via
localStorage.
🛠 Tech Stack & Setup
- Tech: Pure HTML, Vanilla JavaScript, Custom CSS, and Vite.
-
Setup:
npm install-> Add.envwithVITE_NASA_API_KEY&VITE_SERPAPI_KEY->npm run dev
📝 Challenge Checklist
- HTML + CSS + JS required
- Public repository with good README
- Devlogs included
- No AI one-click builders (100% manual code)
- Custom UI/CSS
- Real Features (APIs, localStorage)
- Fully deployed website
NASA Pro - Devlogs
Day 1: Project Setup
Scaffolded the project using Vite to test my vanilla JavaScript skills. Created the basic HTML structure, JS entry points, and added a fallback cosmic image (hero.png) to guarantee the background never breaks.
Day 2: NASA API & Local Caching
Hooked up the NASA APOD API. To prevent hitting API rate limits, I engineered a localStorage caching system that saves the last 20 fetched images and falls back to them automatically.
Day 3: Clock & DOM Skeleton
Built a precise digital clock function with a dynamic time-based greeting. Sketched out the search bar and built a collapsible “Info Panel” with CSS transitions to display the NASA APOD descriptions.
Day 4: SerpApi Integration & Glassmorphism
Integrated SerpApi for native Google Search results. Configured a Vite proxy to fix CORS, built a custom Vanilla JS rendering engine for the results, and completely overhauled the CSS to a “Glassmorphism” theme.
Day 5: Refactoring & Bookmarks
Modularized the 650-line main.js into clean components. Replaced hardcoded quick links with a dynamic Custom Bookmarks engine, and polished the background to load instantly with zero delay.
- 3 devlogs
- 4h
- Give Your Website a Pulse