scrimba
Frontend Career Path
Working with APIs
Intro to APIs
BoredBot - HTML
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
BoredBot - HTML
Expand for more info
index.js
run
preview
console
/**
Challenge:

- Start building out the BoredBot Skeleton however you'd like.
That will include:
- A title for the app ("BoredBot" might be a good start 😉)
- A placeholder element that will be populated with the random
idea we get from the API
- A button to click for triggering the GET request to the Bored API.
(Don't worry about implementing the button quite yet)
*/

// fetch("https://apis.scrimba.com/bored/api/activity")
// .then(response => response.json())
// .then(data => {
// console.log(data)
// document.getElementById("activity-name").textContent = data.activity
// })
Console
/index.html
-1:34