Skip to content

MasalaMarsala/apiTutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Tutorial for Beginners with HTML and JavaScript

This is a basic tutorial for APIs that can be found on Masala Marsala Tech (https://tech.masalamarsala.com/2023/03/apis-for-beginners/) Here is the list of files and how they contribute to the tutorial:

  • api.js is a JavaScript file, which explains how JavaScript can access API JSON responses, and use them in your JS code.
  • basic.html is the basic HTML code you should begin with.
  • final.html is the final working example with a brief explanation of how the code works when runned.
  • cors.txt explains how to deal with CORS errors when trying to use an API