Posted on Jun 4th, 2020
Today’s topics
- Using Fetch to create, read, update, and destroy data (CRUD)
- HTTP methods: GET, POST, PUT/PATCH, DELETE
- HTTP status codes
Project
Create a single page note-taking app
Link to assignment invitation
Links and resources
For more information about how the internet works and the mechanics of a request over HTTP, check out this comic by the always brilliant Julia Evans!
Code, slides, and video from class
Posted on Jun 3rd, 2020
Today’s topics
- Using JSON for retrieving data
- Basics of HTTP requests
- Make requests with Insomnia client to GET data
- Make GET requests using the Fetch API and display response data on a page
Project
Create a GitHub Profile
Link to assignment invitation
Links and resources
A Short History of the Web, in links
Code, slides, and video from class
Posted on Jun 2nd, 2020
Today’s topics
- Introduction to the object data structure in JavaScript
- Storing data in and retrieving data from objects
Project
Build a customer database
Link to assignment invitation
Links and resources
Code, slides, and video from class
Posted on Jun 1st, 2020
Today’s topics
- What’s a bug?
- Debugging tools and techniques
- Errors and exceptions
- Handling errors with try…catch
Project
For this assignment, there is no code to write and no repo to clone. Your assignment is to debug the weekend homework together in pairs and commit your debugged code. Please note in a commit message the name of the person who helped you debug!
Links and resources
There’s a an awesome article about stacks, which we encounter in a stack trace in our debugging adventures, in Vaidehi Joshi’s BaseCS blog series. It’s not necessary to read this to understand debugging, but if you want some more information about terminology and what’s really happening, it’s great!
Code, slides, and video from class
Posted on May 29th, 2020
Today’s topics
- HTML forms
- Working with form data in JavaScript
- Client-side form validation with JavaScript
Project
Link to the assignment invitation
Links and resources
Code, slides, and video from class