-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-prototype.html
133 lines (132 loc) · 6.83 KB
/
main-prototype.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="icon" href="logo.png">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script>
$(document).ready(function(){
$("a").click(function(){
var value = $(this).attr("name");
$("iframe").attr("src", value);
});
});
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
$scope.count = 0;
});
$(document).ready(function(){
$("#myList a").click(function(){
$(this).addClass("active");
});
});
$(document).ready(function(){
$("#myInput").on("keyup", function() {
var value = $(this).val().toLowerCase();
$("#myList a").filter(function() {
$(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
});
$("#myList h3").filter(function() {
$(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
});
});
});
</script>
</head>
<style type="text/css">
html {
overflow: scroll;
overflow-x: hidden;
}
::-webkit-scrollbar {
width: 0px;
background: transparent;
}
</style>
<body style="background-color: white;">
<div class="container" ng-app="myApp" ng-controller="myCtrl">
<div class="row">
<nav class="navbar navbar-default navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="new-index.html"><img src="logo.png" style="width: 30px;height: 30px;"></a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="new-index.html">HOME</a></li>
<li><a href="new-index.html#services">TUTORIALS</a></li>
<li><a href="new-index.html#contact">CONTACT</a></li>
</ul>
</div>
</div>
</nav>
</div><br><br><br><br>
<div class="row">
<h3 style="color: black;">Progress made by you : {{count}}%</h3>
<div class="progress">
<div class="progress-bar progress-bar-striped progress-bar-success active" style="width:{{count}}%">
{{count}}%
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4"><hr>
<div class="list-group" id="myList">
<input type="text" class="form-control" id="myInput" placeholder="Search" name="search">
<h3 style="color: white ; background-color: black ; padding: 5px 6px ;"></h3>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<h3 style="color: white ; background-color: black ; padding: 5px 6px ;"></h3>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<h3 style="color: white ; background-color: black ; padding: 5px 6px ;"></h3>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<h3 style="color: white ; background-color: black ; padding: 5px 6px ;"></h3>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<h3 style="color: white ; background-color: black ; padding: 5px 6px ;"></h3>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<h3 style="color: white ; background-color: black ; padding: 5px 6px ;"></h3>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
<a href="#" ng-click="count = count + 1" name="https://www.youtube.com/embed/" class="list-group-item"></a>
</div>
</div>
<div class="col-sm-8" id="div2">
<center>
<hr>
<h2 style="color: black;"></h2><br>
<iframe width="700" height="420" src="https://www.youtube.com/embed/" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe><br></center>
</div>
</div>
</div>
</body>
</html>