-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharea.html
77 lines (76 loc) · 2.84 KB
/
area.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
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<title>Actual Size Area</title>
<link href="resources/styles-area.css"rel = "stylesheet" type="text/css" />
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-145390898-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-145390898-1');
</script>
</head>
<body>
<div id="grey-out">
<div id="pop-up">
<input id="input" placeholder="Diagonal Screen Size"></input>
<p id="prime-pop-up">ʺ</p>
<button id="go">Go</button>
</div>
</div>
<div id ="header">
<div id="title-box">
<p id="title">
Actual Size
</p>
<p id="subtitle">
Length & Area Visualizer
</p>
<div id = "button-background">
<a href="index.html">
<button id="length-button">Length</button>
</a>
<a href="area.html">
<button id="area-button">Area</button>
</a>
</div>
</div>
<div id="screen-size-box">
<p id="screen-label">Screen Size:</p>
<textarea id="screen-size-input"></textarea>
<p id ="prime-symbol">ʺ</p>
<div id="question-mark-circle">?</div>
<img id="screen-size-info" src="resources/screen-size-info.png"></img>
</div>
<div id="width-input-box">
<textarea id="text-area-width"></textarea>
<p class="dimension-symbol">W</p>
<p id="by-symbol">x</p>
</div>
<div id="height-input-box">
<textarea id="text-area-height"></textarea>
<p class="dimension-symbol">H</p>
</div>
<div id="unit-selector-box">
<button class="unit-button" id="inch-button">in</button>
<button class="unit-button" id="centimeter-button">cm</button>
</div>
</div>
<div id="area">
<div id="overflow">
<div id="rectangle">
<!--where dimension lines are created-->
</div>
<div id="width-line"></div>
<div id="height-line"></div>
</div>
</div>
<footer style="right: 6px; top: 2px; position: absolute">
<small>© Copyright <script>document.write(new Date().getFullYear())</script></small>
</footer>
<script src="js/app-area.js"></script>
</body>
</html>