html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>☁️🍡 mochi 🍡☁️</title>
<link rel="stylesheet" href = "styles.css">
<body>
<!-- 👆🏻 -->
<div class="tap-label"><b>Tap to reveal fillings</b></div>
<h1><span style="color: #9ea99c"><b> 🍡 mochi 🍡 </b></span></h1>
<div class="stick"></div>
<!-- Strawberry Label -->
<p class="label strawberry"><span style="color: #ff808a"><b>strawberry</b></span></p>
<!-- Chocolate Label -->
<p class="label chocolate"><span style="color: #8e5e53"><b>chocolate</b></span></p>
<!-- Mango Label -->
<p class="label mango"><span style="color: #FFBE5C"><b>mango</b></span></p>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f8f8f8;
}
.tap-label {
position: absolute;
top: 2%;
font-size: 16px;
color: #92ada4;
background: white;
border: 5px solid pink;
padding: 8px 12px;
border-radius: 10px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}
h1 {
position: absolute;
font-size: 2rem;
font-weight: bold;
font-family: "Comic Sans MS", sans-serif;
top: 8%;
right: 28%;
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run