JS-151-API
  • JavaScript Library
  • 02-DOM-Manipulation
    • Overview
    • DOM Explained
    • Example Setup
    • Selecting Elements
    • Events
    • Complete Example
  • 03-API Fundamentals
    • 0-Getting Started
      • Welcome
    • 1-Intro-To-APIs
      • Intro
      • Client
      • Requests
      • JSON
      • API Endpoints
      • Server
      • Response
      • Statelessness
      • REST
    • 2-Asynchronous-Programming
      • Intro
      • Callbacks
      • Promises
      • Promises Continued
      • Chaining Promises
    • 3-Fetch
      • Fetch Intro
      • Star Wars
        • Star Wars API
        • Star Wars Setup
        • Star Wars JS
      • Random Photo
        • Unsplash
        • Unsplash Setup
        • Unsplash JS
    • 4-Apps
      • 01-New York Times
        • 00-App Intro
        • 01-HTML/CSS/API Key
        • 02-Variables
        • 03-Event Listeners
        • 04-fetchResults
          • 01-fetchResults()
          • 02-preventDefault()
          • 03-fetch() method
          • 04-Dates
        • 05-displayResults
          • 01-Logging JSON
          • 02-Working with JSON
          • 03-Link Display
          • 04-Results Navigation
          • 05-Results Update
          • 06-Keywords
          • 07-Images
        • 06-Pagination
          • 01-Pagination Intro
          • 02-Pagination Functions
        • 07-Next Steps
      • 02-YouTube
        • html
        • youtube.css
        • youtube.js
      • 03-GoogleMaps
        • Setup
        • HTML and CSS files
        • API Key
        • JS Setup
        • Adding Your Location
        • Listeners
        • Custom Options
Powered by GitBook
On this page
  1. 03-API Fundamentals
  2. 0-Getting Started

Welcome

Objectives: 1. Set up our folder and file structure for API Fundamentals.

JavaScript Fundamentals Folder Setup

  1. Open up your javascript-library project in Visual Studio Code.

  2. Collapse down your 2-JavaScript-DOM-Manipulation folder, if it's open.

  3. Open the 3-API-Fundamentals folder.

  4. Set up the following folders inside of 3-API-Fundamentals:

     javascript-library
         └── 0-JavaScript-PreWork
         └── 1-JavaScript-Fundamentals
         └── 2-JavaScript-DOM-Manipulation
         └── 3-JavaScript-API-Fundamentals
             └── 1-Intro-to-APIs
             └── 2-Asynchronous-Programming
             └── 3-Fetch
                 └──01-Star-Wars
                 └──02-Unsplash
             └── 4-Apps
                 └──01-New-York-Times
                 └──02-YouTube
                 └──03-GoogleMaps
Previous0-Getting StartedNext1-Intro-To-APIs

Last updated 7 years ago