-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjoin.html
More file actions
94 lines (86 loc) · 4.06 KB
/
Copy pathjoin.html
File metadata and controls
94 lines (86 loc) · 4.06 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
<!-- My CSS -->
<link rel="stylesheet" href="style.css" />
<!-- end My CSS -->
<title>VERSHACÉ</title>
<!-- My JS -->
<script>
document.addEventListener("DOMContentLoaded", function () {
document.querySelector("form").onsubmit = function () {
const name = document.querySelector("#name").value;
alert(`Selamat Bergabung ${name}!`);
};
});
</script>
<!-- End My JS -->
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar navbar-expand-lg navbar-dark sticky-top" style="background-color: #ff8c00">
<div class="container justify-content-center">
<a class="navbar-brand" href="index.html">VERSHACÉ</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<!-- End Navbar -->
<!-- Form -->
<section id="join">
<div class="container">
<div class="row text-center">
<div class="col mt-4">
<h2>Join Us Now!</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-8">
<form>
<div class="mb-3">
<label for="name" class="form-label">Nama Lengkap</label>
<input type="text" class="form-control" id="name" aria-describedby="name" />
</div>
<div class="mb-3">
<label for="email" class="form-label">Alamat Email</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" />
<div id="emailHelp" class="form-text">Alamat email anda tidak akan dibagikan.</div>
</div>
<button type="submit" class="btn1 btn-warning">Kirim</button>
</form>
</div>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path
fill="#ffdab9"
fill-opacity="1"
d="M0,64L60,85.3C120,107,240,149,360,165.3C480,181,600,171,720,149.3C840,128,960,96,1080,85.3C1200,75,1320,85,1380,90.7L1440,96L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"
></path>
</svg>
</section>
<!-- End Form -->
<!-- Optional JavaScript; choose one of the two! -->
<script>
document.addEventListener("DOMContentLoaded", function () {
document.querySelector("form").onsubmit = function () {
const name = document.querySelector("#name").value;
alert(`Selamat Bergabung ${name}!`);
};
});
</script>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
-->
</body>
</html>