-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
81 lines (81 loc) · 2.98 KB
/
index.html
File metadata and controls
81 lines (81 loc) · 2.98 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
75
76
77
78
79
80
81
<html>
<head>
<title>fast and furious </title>
<link rel="stylesheet" href = "style.css">
</head>
<body>
<div class= "main">
<nav>
<div class= "logo">
<img src="logo_transparent.png">
</div>
<div class= "nav-links">
<ul>
<li><a href= "#">Home</a></li>
<li><a href= "#">chat</a></li>
<li><a href= "#">loan </a></li>
<li><a href= "#">assignments</a></li>
</ul>
</div>
</nav>
<div class= "information">
<div class ="overlay"></div>
<img src = "st.jpg" class= "university">
<div id= "circle">
<div class="features one">
<img src= "computer.jpg">
<div>
<h1>"social chat"</h1>
<p> You Can interact with your fellow <br>students and teachers here </p>
</div>
</div>
<div class="features two">
<img src= "students.jpg">
<div>
<h1>"Assignments"</h1>
<p> You Can organise <br>assignment and projects</p>
</div>
</div>
<div class="features three">
<img src= "exam.jpg">
<div>
<h1>"Exams"</h1>
<p> You Can See your<br> marks and progress </p>
</div>
</div>
<div class="features four">
<img src= "loan.jpg">
<div>
<h1>"Loan and debts "</h1>
<p> You Can search for <br>loans and scholarships </p>
</div>
</div>
</div>
</div>
<div class= "controls">
<img src= "arrow.jpg" id= "upBtn">
<h3>Features</h3>
<img src = "arrow.jpg" id= "downBtn">
</div>
</div>
<script>
var circle= document.getElementById("circle");
var upBtn= document.getElementById("upBtn");
var downBtn= document.getElementById("downBtn");
var rotateValue= circle.style.transform;
var rotateSum;
upBtn.onclick= function()
{
rotateSum= rotateValue+ "rotate(-90deg)";
circle.style.transform=rotateSum;
rotateValue=rotateSum;
}
downBtn.onclick= function()
{
rotateSum= rotateValue+ "rotate(90deg)";
circle.style.transform=rotateSum;
rotateValue=rotateSum;
}
</script>
</body>
</html>