scrimba
Frontend Career Path
Essential JavaScript concepts
Meme Picker
renderCat()
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
renderCat()
Expand for more info
index.html
run
preview
console
<html>

<head>
<link rel="stylesheet" href="index.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Karla:wght@400;800&display=swap" rel="stylesheet">
</head>

<body>
<header>
<div class="header-inner">
<img src="./images/pumpkin.png" class="pumpkin-img">
<div>
<h2>Pumpkin's Purrfect...</h2>
<h1>Meme Picker</h1>
</div>
</div>
</header>
<main>
<h3>Select Your Current Emotion</h3>
<div class="controls-container">
<div class="emotion-radios" id="emotion-radios"></div>
<div class="gifs-check">
<label for="gifs-only-option" class="gifs-check-label">Animated GIFs only</label>
<input type="checkbox" id="gifs-only-option">
</div>
<button class="get-image-btn" id="get-image-btn">Get Image</button>
</div>
</main>
<div class="meme-modal" id="meme-modal">
<button class="meme-modal-close-btn" id="meme-modal-close-btn">X</button>
<div id="meme-modal-inner"></div>
</div>
<script src="index.js" type="module"></script>
</body>

</html>
Console
/index.html
-5:17