-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmisc_1.html
More file actions
36 lines (36 loc) · 1.36 KB
/
misc_1.html
File metadata and controls
36 lines (36 loc) · 1.36 KB
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
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible", content="IE-edge">
<title>Misc | JSProject</title>
<link rel="stylesheet", href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
<link rel="stylesheet", href="css/style.css">
<style>
body {font-family: Arial;}
section {border: 2px dashed black; margin: 2rem;}
div {border: 2px solid black; width: 60%; margin: 2rem auto; padding: 2rem; text-align: center;}
h1 {font-size: 40px;}
h2 {font-size: 25px; padding: 1rem;}
p {font-size: 20px;}
button {padding: 0.5rem 2rem; margin: 1rem; border: 2px solid black; cursor: pointer;}
label {padding: 0.5rem; margin: 1rem;}
input {padding: 0.5rem; margin: 1rem; border: 2px solid black;}
</style>
</head>
<body>
<header>
</header>
<main>
<button onClick="changeText()">Click Me</button>
<p id="p1">Text</p>
</main>
<footer>
</footer>
<script type="module">
import { changeText } from './js/misc.js';
window.changeText = changeText;
</script>
</body>
</html>