forked from extrude575757/JavaScript-Foundations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindexXtra.html
More file actions
40 lines (31 loc) · 673 Bytes
/
Copy pathindexXtra.html
File metadata and controls
40 lines (31 loc) · 673 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Foundations</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
button{
height: 6rem;
width:5rem;
}
div{
display: flex;
flex-direction: column;
}
div.con{
margin-left:40%;
width:70%;
height: 50%;
}
</style>
</head>
<body>
<div class='con'>
<p>Open up the console to check your work!</p>
<input type="text" id="input1" />
<button onclick="myJsFunction()">submit</button>
<script src="index.js"></script>
</div>
</body>
</html>