-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTextTag2.html
65 lines (64 loc) · 1.33 KB
/
TextTag2.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
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
<!DOCTYPE html>
<html>
<head>
<title>Text Tag</title>
<meta charset="utf-8">
<style>
body{
margin:40px;
}
.wrapper{
display: grid;
grid-gap: 10px;
grid-template-columns: 200px 200px;
}
.box{
padding: 20px;
}
.a{
grid-column: 1;
grid-row: 1;
}
.b{
grid-column: 1;
grid-row: 2;
}
.c{
grid-column: 1;
grid-row: 3;
}
#in{
width: 700px;
height:300px;
}
#out{
width: 700px;
height: 300px;
}
</style>
</head>
<body>
<h1>Before clicking submit the final time, make sure to re-enter all the numbers and names that have been cleared.</h1>
<main>
<div class="wrapper">
<div class="box a" id=dataInfo>
<label for="headers">Number of header rows</label>
<input type="text" name="# of header rows" id="headers">
<button name="submit" onclick="makeHeaderInput(document.getElementById('headers').value)">Submit</button>
<table id="data_names">
<tr id="row">
<!--script takes over here-->
</tr>
</table>
</div>
<div class="box b" id="rawText">
<textarea name="input area" id="in" placeholder="Place your input here"></textarea>
</div>
<div class="box c" id="puttingOut">
<textarea name="output area" placeholder="Your output will appear here" id="out"></textarea>
</div>
</div>
</main>
<script type="text/javascript" src="TextTag.js"></script>
</body>
</html>