• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Code The Dream School
Code the Dream Labs Logo

Code The Dream School

Main hub for class materials for Code the Dream’s classes

  • Code the Dream Home

Search Code The Dream School

AJAX Basics: Working with Fetch API

Learning Objectives

  • What is the Fetch API?
  • Write a Basic Fetch Request
  • Displaying the Content
  • Create a Reusable Fetch Function
  • Handling Errors
  • Manage Multiple Requests with Promise.all
  • Posting Data with fetch

Materials

Complete the following Treehouse lessons:

  • Working with Fetch API (44 min)

Assignments

Coding Assignment

This week you will be refactoring the work you did last week by retrieving data with the Fetch API instead of XMLHttpRequest (XHR):

Follow the proper links for your class:

Bestla:
(May – Sept 2022)
Lesson 6.2 GitHub Link for Intro to Programming Bestla Class

Mindset Assignment

Have you ever harbored persistent feelings of self-doubt despite the successes you’ve achieved? Felt like, “someone is going to find out that I don’t deserve to be where I am” or that “others know everything, and I know very little”. Initially coined in the ‘70s, this phenomenon has a name—Imposter Syndrome—and though it tends to disproportionately affect those in underrepresented groups in tech, it is quite widespread across the industry. (A 2018 study reported that 58% of all tech workers feel this way!)

Unfortunately, it’s not something that we can make magically go away—in fact a lot of folks may feel it many years into their career. On a good note, however, it is something we can manage and harness in a positive way for growth and learning, as discussed in this TED talk by Mike Cannon-Brookes, who founded and runs the tech behemoth, Atlassian. (Yes, even CEOs can have Imposter Syndrome!) And If you don’t experience this phenomenon personally, it’s still worth understanding so you can keep an eye out for it in friends and peers and help them manage it. A good first start to managing Imposter Syndrome is to shine a light on it. Talk to your classmates, mentors, friends, about your feelings and how to keep that self-doubt in check.

– Have you every felt Imposter Syndrome yourself and, if you’re comfortable sharing, how did it manifest itself? What, if anything, has helped you mitigate these feelings?
– What do you think are some of the immediate or long-term effects of Imposter Syndrome if left unchecked?

When you’ve completed your Coding Assignment, and have read and thought about the mindset questions above, submit ALL of your assignments (coding and mindset) using the Squibby 2.0 Assignment Submission Form

Footer

Copyright © 2025 Code the Dream School | All Rights Reserved | Privacy Policy