Skip to content

[TECH ED] Code Along APIs and Fetch #28

Open
@SallyMcGrath

Description

@SallyMcGrath

Link to the coursework

https://github.com/CodeYourFuture/CodeAlong-NumberFacts

Why are we doing this?

Now that you've learned about APIs and how to connect with them, let's apply it in the context of a complete application.
In the following assignment, you'll be coding along with somebody as they make an API call to an external, public API.

Don't just watch this video. You must code along for active learning. This will help you to understand what exactly the presenter is doing.

A couple of notes:

  1. The video uses a UI framework called Bootstrap - you don't need to use Bootstrap. Do not spend time learning about Bootstrap - it's a distraction. It's up to you how much time you want to spend on the visual styling of your website. It's ok if it's completely unstyled, or if you want to make it pretty.
  2. The video uses two different ways of calling an API - XmlHttpRequests and fetch. You can ignore the XmlHttpRequest way, and just use fetch.

https://www.youtube.com/watch?v=tUE2Nic21BA

Maximum time in hours

2

How to get help

Try this codealong in a study group.

How to submit

    Fork the repo to your own GitHub account
    Make regular small commits with clear messages
    When you are ready, open a Pull Request to the CYF repo
    Make sure you fill in the PR template provided

How to review

  1. Complete your PR template
  2. Ask for review from a classmate or mentor
  3. Make changes based on their feedback
  4. Review and refactor again once the coursework solutions are released.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions