Skip to content

boobeh123/APOD-NASA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This web application is a static webpage that interacts with NASA's API, receives data, and stores the data locally. Click the generate image button to view NASA's photo from that day.

Demo

demogif demogif

Features

  • Static webpage deployed with GitHub
  • Responsive to mobile viewports
  • Database (localStorage)
  • Stateloaders
  • Error handling & messages

Technologies

HTML5CSS3JavaScript

Optimitzation

  • Add fallback images if the NASA API is unavailable
  • Improve the mobile responsiveness of the reel
  • Optimize image loading and caching
  • Add error boundaries for failed image loads
  • Add a search/filter function for the reel
  • Show image metadata (resolution, file size, etc.)

What did you learn?

  • HTML: iframe tag, semantics-added a header/main/footer vs one div.
  • JavaScript: Token authentication, using an object to store fetched data as properties, using localStorage as a database, error handling & displaying an error message when bugs arise.

Source:

https://api.nasa.gov/

About

A static webpage that interacts with NASA's API. Mobile-Friendly! - Live on Github Pages / Link in repo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published