-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.html
123 lines (113 loc) · 4.91 KB
/
profile.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
<html>
<head>
<title>SYLPH</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel = "icon" href = "images/logo_browser.png" type = "image/x-icon.png">
<link href="https://fonts.googleapis.com/css2?family=Bodoni+Moda&display=swap" rel="stylesheet">
<link rel = "stylesheet" href = "styles.css">
</head>
<style type="text/css">
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
</style>
<body style = "font-family: 'Franklin Gothic Medium';">
<div class="container">
<div class="nav-wrapper">
<div class="left-side">
<div class="nav-link-wrapper">
<a href="index.html">Home</a>
</div>
<div class="nav-link-wrapper">
<a href="faq.html">FAQ</a>
</div>
<div class="nav-link-wrapper">
<a href="http://127.0.0.1:3000">LOG IN</a>
</div>
<div class="nav-link-wrapper">
<a href=" http://127.0.0.1:3000">SIGN UP</a>
</div>
</div>
<div class="right-side">
<div class="brand">
<img src = "/images/logo.png" style="height:70px">
</div>
</div>
</div>
<div class="slideshow-container">
<!-- IMAGES AND TEXT -->
<div class="mySlides fade">
<div class="numbertext">1 / 4</div>
<a href="pong/pong.html">
<img src="https://i.pinimg.com/originals/79/f6/08/79f608d5bff096ccd1c4fea4a6fc8626.gif" style="width:500px">
<div class="text">PONG</div>
</a>
</div>
<div class="mySlides fade">
<div class="numbertext">2 / 4</div>
<a href="rps/rps.html">
<img src="https://wrpsa.com/wp-content/uploads/2021/08/rock-paper-scissors-neon-icons-vector.jpg" style="width:600px">
</a>
<div class="text">ROCK PAPER SCISSORS</div>
</div>
<div class="mySlides fade">
<div class="numbertext">3 / 4</div>
<a href="ttt/ttt.html">
<img src="https://s.yimg.com/cv/apiv2/default/20200716/masque/tic-tac-toe.jpeg" style="width:600px">
</a>
<div class="text">TIC TAC TOE</div>
</div>
<div class="mySlides fade">
<div class="numbertext">4 / 4</div>
<a href="number/number.html">
<img src="https://images-na.ssl-images-amazon.com/images/I/41VcjPSfjwL.png" style="width:500px">
</a>
<div class="text">HIGHER LOWER</div>
</div>
<!-- NEXT/PREV -->
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<br>
<!-- THE DOTS -->
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
<span class="dot" onclick="currentSlide(4)"></span>
</div>
</body>
<script>
const portfolioItems = document.querySelectorAll('.portfolio-item-wrapper')
portfolioItems.forEach(portfolioItem => {
portfolioItem.addEventListener('mouseover', () => {
portfolioItem.childNodes[1].classList.add('img-darken');
})
portfolioItem.addEventListener('mouseout', () => {
portfolioItem.childNodes[1].classList.remove('img-darken');
})
})
var slideIndex = 1;
showSlides(slideIndex);
// NEXT/PREV
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>
</html>