-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (43 loc) · 1.16 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head>
<title>Aah quand le W</title>
<link rel="icon" href="favicon.png">
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<style type="text/css">
body {
background: #fff;
margin: 0;
}
.hide {
display: none;
}
</style>
</head>
<body>
<section class="container hide" id="primaire">
<div class="text">
<p>Concentre-toi sur chaque tâche, aussi banale soit-elle.</p>
<p2>La satisfaction du travail bien fait contribuera à ton bonheur.</p>
</div>
</section>
<section class="container hide" id="secondaire">
<p>C’est le travail qui t’enseignera comment travailler.</p>
</section>
<section class="container hide" id="tertieraire">
<p>
L’homme qui travaille comme un esclave mange comme un roi.
</p>
</section>
<script type="text/javascript" >
(function($) {
$.fn.random = function() {
var n = this.length;
var r = Math.floor(n * Math.random());
return n ? $(this[r]) : $();
};
$('.hide').random().removeClass("hide");
})(jQuery);
</script>
</body>
</html>