-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwebpage.html
37 lines (33 loc) · 867 Bytes
/
webpage.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
<!DOCTYPE html>
<html>
<style>
input[type="text"] {
color: rgb(123, 123, 123);
width: 90%;
height: 30px;
font-size: 18px;
}
input[type="submit"] {
color: rgb(255, 0, 0);
background-color: rgb(210, 210, 210);
width: 20%;
height: 20px;
}
input[type="submit"]:hover {
color: rgb(223, 19, 19);
background-color: rgb(174, 174, 174);
width: 20%;
height: 20px;
}
</style>
<body>
<h2>SWENG Calculator</h2>
<form method="POST">
<label for="calculation">Input to Calculate:</label><br><br>
<input type="text" id="calculation" name="calculation"><br><br>
<input type="submit" value="Calculate">
</form>
<p>Use log(x) to calculate the natual log and exp(x) to calculate e^x.</p>
<h3>Result:</h3>
</body>
</html>