-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome2.php
121 lines (113 loc) · 4.4 KB
/
home2.php
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- css -->
<link rel="stylesheet" href="bootstrap/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="tes.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- script -->
<script src="tools/js/jquery.min.js"></script>
<script src="bootstrap/bootstrap.min.js"></script>
<!-- <script src="tools/js/angular.min.js"></script> -->
<title>MyPersonality - Personality test</title>
</head>
<body>
<div class="topnav" id="myTopnav">
<p class="logo">MyPersonality</p>
<a href="#">ABOUT</a>
<a href="#">REVIEW</a>
<a href="personalitytypes.php">PERSONALITY TYPE</a>
<a href="#" class="btn btn-info">HOME</a>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
<div class="therules">
<div class="titletypes">
<center><p><h2>ATTENTION</h2></p></center>
</div>
<div class="row rules">
<div class="col-md-3 col-xs-12">
<div class="ruleimg">
<img title="timer" src="img/timer.png">
</div>
<div class="ruletext"><p>Answer the questions in 15 minutes</p></div>
</div>
<div class="col-md-3 col-xs-12">
<div class="ruleimg">
<img title="timer" src="img/honest-icon.png">
</div>
<div class="ruletext"><p>Please answer honestly, even when you do not like the answer.</p></div>
</div>
<div class="col-md-3 col-xs-12">
<div class="ruleimg">
<img title="timer" src="img/fulfill-icon.png">
</div>
<div class="ruletext"><p>and do not left any questions with no answer</p></div>
</div>
</div>
<hr>
<div class="thequestion">
<div class="Q">
<p class="Q1">You find it difficult to introduce yourself to other people.</p>
<label class="customradio radio-inline"><span class="radiotextsty">YES</span>
<input type="radio" class="form-check-label" checked="checked" name="radio">
<span class="checkmark"></span>
</label>
<label class="customradio radio-inline"><span class="radiotextsty">NO</span>
<input type="radio" class="form-check-label" checked="checked" name="radio">
<span class="checkmark"></span>
</label>
</div>
<div class="Q">
<p class="Q2">You often get so lost in thoughts that you ignore or forget your surroundings.</p>
</div>
<div class="Q">
<p class="Q3">You try to respond to your e-mails as soon as possible and cannot stand a messy inbox.</p>
</div>
</div>
</div>
<div class="footer">
<div>
<div class="footer-icons col-md-6 col-xs-10">
<a href="#"><img src="icon/002-twitter.png">mypersonality</a>
<a href="#"><img src="icon/001-facebook.png">MyPersonality ID</a>
<a href="#"><img src="icon/envelope.png">[email protected]</a>
</div>
<div class="copyright">
<center><p>Copyright © 2018 MyPersonality Personality Online Test Inc. All right reserved</p></center></p>
</div>
</div>
</div>
</body>
<script>
// window.onscroll = function() {stickynav()};
// var topnavbar = document.getElementById("myTopnav");
// var sticky = topnavbar.offsetTop;
// function stickynav() {
// if (window.pageYOffset >= sticky) {
// topnavbar.classList.add("sticky");
// } else {
// topnavbar.classList.remove("sticky");
// }
// }
$(window).scroll(function () {
if ($(window).scrollTop() >= 50) {
$('.topnav').css('background','transparent');
} else {
$('.topnav').css('background','transparent');
}
});
function myFunctionn() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
</html>