diff --git a/dad-jokes/script.js b/dad-jokes/script.js index e78e685..3d0bde1 100644 --- a/dad-jokes/script.js +++ b/dad-jokes/script.js @@ -13,9 +13,9 @@ async function generateJoke() { }, } - const res = await fetch('https://icanhazdadjoke.com', config) + const res = await fetch('https://icanhazdadjoke.com', config); - const data = await res.json() + const data = await res.json(); jokeEl.innerHTML = data.joke }