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

Milos5593 improvements #44

Merged
merged 2 commits into from
Oct 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h1 class="animated rubberBand delay-4s">Contributors</h1>
<a class="box-item" href="https://github.com/gayathribuddhika"><span>Gayathri Buddhika</span></a>
<a class="box-item" href="https://github.com/Triben-Choudhary"><span>Triben Choudhary</span></a>
<a class="box-item" href="https://github.com/rajneeshk94"><span>Rajneesh Khare</span></a>

<a class="box-item" href="https://github.com/milos5594"><span>Milos Vujinic</span></a>

<!--
Add here
Expand Down
14 changes: 14 additions & 0 deletions scripts/chuck-norris-joke-generator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const API_URL = 'https://api.chucknorris.io/jokes/random'

/**
* To run this you will need node installed
* @author milos5593
*/
async function GET_JOKES() {
const response = await fetch(API_URL)
const { value } = await response.json()

console.log(value)
}

GET_JOKES()