---
title: "Discussion on \"How to call an API in Javascript: Random Meal Generator\" | Hashnode"
description: "Discussion on \"How to call an API in Javascript: Random Meal Generator\". Since the beginning of 2021, I've been taking part in Scrimba 's #WeeklyWebDevChallenge. For Week 5, the challenge was to create an application that implemented the Foodish API 🍔.\nI decided to create a Random Meal Generator that calls the API to sho..."
url: "https://hashnode.com/posts/how-to-call-an-api-in-javascript-random-meal-generator/601f2d83636acc2a3822ee2a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to call an API in Javascript: Random Meal Generator](https://christacodes.hashnode.dev/how-to-call-an-api-in-javascript-random-meal-generator?utm_source=hashnode&utm_medium=feed)

Since the beginning of 2021, I've been taking part in Scrimba 's #WeeklyWebDevChallenge. For Week 5, the challenge was to create an application that implemented the Foodish API 🍔. I decided to create a Random Meal Generator that calls the API to sho...

Feb 7, 2021 · 6 min read · christacodes.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#api](https://hashnode.com/tag/api)
-   [#fetch](https://hashnode.com/tag/fetch)
-   [#axios](https://hashnode.com/tag/axios)

## Written by

[Christa Lafiguera](https://hashnode.com/@christacodes)

@christacodes

  
[View profile](https://hashnode.com/@christacodes)

Software Engineer at Next Jump

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
