Skip to content

JamesZanoria/API_and_DynamicJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

API and Dynamic JavaScript Project

Overview

This project demonstrates the use of JavaScript Fetch API to dynamically load and display data from external APIs. The website follows a given Figma prototype for structure and design. It consists of multiple pages and provides navigation between a Friends page and the main Facebook page.


Features

  • Responsive layout based on the provided Figma prototype.

  • Fetches and displays data dynamically from APIs (no hardcoding).

  • Navigation between pages:

    • Clicking Friends loads the Friends page.
    • Clicking Facebook on the Friends page redirects back to the homepage.
  • Scrollable pages for better usability.

  • Clean and structured HTML, CSS, and JavaScript implementation.


APIs Used

  1. Users API

  2. Products API


Implementation Details

  1. Dynamic Data Loading

    • Data is retrieved using fetch() and rendered in the DOM.
    • No hardcoded data; all displayed content comes directly from APIs.
  2. Navigation

    • A navigation bar is included.
    • "Friends" button → navigates to the Friends page.
    • "Facebook" button on Friends page → redirects back to index.html.
  3. Design and Layout

    • Matches the Figma prototype as closely as possible.
    • Scrollable layout for better accessibility.

Scope and Limitations

  • Implemented with HTML, CSS, and Vanilla JavaScript only.
  • Limited to the data provided by the given APIs.
  • Backend/server-side logic is not included.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages