Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH ED] Code Along APIs and Fetch #139

Open
nadika-zavodovska opened this issue Dec 6, 2024 · 0 comments
Open

[TECH ED] Code Along APIs and Fetch #139

nadika-zavodovska opened this issue Dec 6, 2024 · 0 comments

Comments

@nadika-zavodovska
Copy link
Owner

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment