Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632991 Views

Latest files of /cody/bradtraversy/50projects50days/dad-jokes

style.css cody/bradtraversy/50projects50days/dad-jokes/style.css
78 Views
0 Comments
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
box-sizing: border-box;
}

body {
background-color: #686de0;
index.html cody/bradtraversy/50projects50days/dad-jokes/index.html
266 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Dad Jokes</title>
</head>
script.js cody/bradtraversy/50projects50days/dad-jokes/script.js
83 Views
0 Comments
const jokeEl = document.getElementById('joke')
const jokeBtn = document.getElementById('jokeBtn')

jokeBtn.addEventListener('click', generateJoke)

generateJoke()

// USING ASYNC/AWAIT