forked from netology-code/bjs-homeworks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (29 loc) · 1.13 KB
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Homework 1.2</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<input type="number" placeholder="a" id="a"><br><br>
<input type="number" placeholder="b" id="b"><br><br>
<input type="number" placeholder="c" id="c"><br><br>
<button onClick="calculateQuadraticEquation()">Считать задание №1</button><br>
<span id="equation"></span><br>
<span id="result"></span>
<hr/>
<input type="text" placeholder="marks" id="marks"><br><br>
<button onClick="calculateAverageRating()">Считать задание №2</button><br>
<span id="averageMark"></span>
<hr/>
<input type="text" placeholder="Name" id="personName"><br><br>
<input type="date" id="dateOfBirthday" value="2000-01-01"><br><br>
<button onClick="calculateDrinkTask()">Считать задание №3</button><br>
<span id="drink"></span>
<hr/>
<script src="main.js"></script>
<script src="task.js"></script>
</body>
</html>