Skip to content

Commit 482d8f4

Browse files
committed
update project 5
1 parent d05351d commit 482d8f4

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

05_circle/index.html

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,18 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Document</title>
6+
<title>Calculator</title>
7+
<script src="https://cdn.tailwindcss.com"></script>
78
<style>
8-
body{
9-
background-color: grey;
10-
}
11-
#main {
12-
height: 10rem;
13-
width: 10rem;
14-
border-radius: 5px;
15-
border-color: black;
16-
background-color: aqua;
9+
.btn:active {
10+
filter: brightness(0.9);
1711
}
1812
</style>
1913
</head>
2014
<body>
21-
<div id="main"></div>
2215

23-
<script src="script.js"></script>
16+
17+
18+
<script src="script.js"></script>
2419
</body>
2520
</html>

05_circle/script.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
const box = document.getElementById('main');
2-
box.addEventListener('click', {
3-
4-
})

05_circle/tailwind.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/** @type {import('tailwindcss').Config} */
2+
module.exports = {
3+
content: ["./*.html"],
4+
theme: {
5+
extend: {},
6+
},
7+
plugins: [],
8+
};

0 commit comments

Comments
 (0)