-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfirstExemple.html
More file actions
74 lines (69 loc) · 3.79 KB
/
firstExemple.html
File metadata and controls
74 lines (69 loc) · 3.79 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="mathFirstTab.js"></script>
<script src="http://code.jquery.com/jquery-2.1.0.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
</head>
<body>
<div class="bs-example bs-example-tabs container" role="tabpanel" data-example-id="togglable-tabs">
<ul id="myTab" class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#home" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">Проверка</a>
</li>
<li role="presentation"><a href="#profile" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile">Установка</a>
</li>
</ul>
<div id="myTabContent" class="tab-content">
<div role="tabpanel" class="tab-pane fade in active" id="home" aria-labelledby="home-tab">
<div class="row">
<div class="generator">
<p>
<button type="button" class="btn btn-default" id='generator'>
ГЕНЕРАЦИЯ ВЫРАЖЕНИЯ
</button>
<br/>
</p>
<p> Выражение:</p>
<p class="exemple obj-generator" id="exam"></p>
</div>
<div class="clearfix"></div>
<div class="col-xs-4">
<label for="input-@grid-float-breakpoint-max"> Ведите правильный ответ</label>
<input id='question' name="text" type="text" aria-describedby="help-block-@grid-float-breakpoint-max" value="" data-var="" class="form-control " />
<p>
<button id="answer"> Проверка</button>
</p>
<div class="btn-group btn-group-lg" role="group" aria-label="Large button group">
<p> Answer (округлите до 2 знаков после целого)</p>
<p>Correct: </p>
<p id="correct"></p>
<p>Incorrect: </p>
<p id="incorrect"></p>
</div>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane fade " id="profile" aria-labelledby="profile-tab">
<div class="btn-group btn-group-lg" role="group" aria-label="Large button group">
<form action="" id="settings">
<input type="checkbox" name='expressions' value="-" checked/>minus <br/>
<input type="checkbox" name='expressions' value="*" checked/>multiplikation<br/>
<input type="checkbox" name='expressions' value="+" checked/>plus<br/>
<input type="checkbox" name='expressions' value="/" checked/>division<br/>
</form>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>