-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (28 loc) · 1012 Bytes
/
index.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
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>JProgram - OOP JS</title>
<meta charset="utf-8"/>
<script type="module" src="scripts/script.js"></script>
</head>
<body>
<div id="form_register" style="text-align: center;">
<h1>Simple Register Form</h1>
<form method="POST" id="form">
<select id="type_person" onchange="createLabel(this.value);">
<option selected disabled>Select an Option</option>
<option value="CPF: ">Physical Person</option>
<option value="CNPJ: ">Legal_Person</option>
</select> <br/><br/>
<label>Nome:</label>
<input type="text" name="name" id="name" /> <br/><br/>
<label>Email:</label>
<input type="email" name="email" id="email" /> <br/><br/>
<label>Phone:</label>
<input type="text" name="phone" id="phone" /> <br/><br/>
<button onclick="register();" id="btn" value="register" type="button">Submit</button>
</form>
</div>
<script type="text/javascript" src="scripts/Main.js"></script>
</body>
</html>