This Project uses nasa API to fetch Images and their data using Javascript and presents them using html https://narayanshastri.github.io/mars-images-by--nasa/
-
Head Section:
- Includes meta tags for compatibility and responsiveness.
- Links the Bootstrap library for styling.
- Adds an inline
<style>
tag for custom CSS (currently empty).
-
Script:
- Defines the
bodyload
function to fetch data from NASA's API. - Processes the JSON response and dynamically populates a table with rover photos, IDs, camera names, and rover names.
- Defines the
-
Body Section:
- A button triggers the
bodyload
function to load and display data. - A table structure is provided with headers to display the fetched data.
- A button triggers the