-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
123 lines (98 loc) · 4.89 KB
/
index2.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Portfolio</title>
<link rel="icon" href="images/mylogooo.png" class="icon">
<link rel="stylesheet" href="styles2.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
.mySlides {display:inside;}
</style>
<body>
<div class="hihi">
<nav>
<h4 class="colorblock">
</h4>
<ul>
<li><a href="https://marklacanaria.github.io/home/">HOME</a></li>
<li><a href="index3.html">ABOUT</a></li>
<li><a href="index2.html" target="_blank">PORTFOLIO</a></li>
</ul>
</nav>
<marquee behavior="alternate">
WELCOME TO MY PORTFOLIO SECTION
</marquee>
<center>
<h1>MY PORTFOLIO</h1>
<center>
<img class="mySlides" src="images/1.PNG"style="width:50%">
<img class="mySlides" src="images/2.PNG"style="width:50%">
<img class="mySlides" src="images/3.PNG"style="width:50%">
<img class="mySlides" src="images/4.PNG"style="width:50%">
<img class="mySlides" src="images/5.PNG"style="width:50%">
<img class="mySlides" src="images/6.PNG"style="width:50%">
<img class="mySlides" src="images/7.PNG"style="width:50%">
<img class="mySlides" src="images/8.PNG"style="width:50%">
<img class="mySlides" src="images/9.PNG"style="width:50%">
<img class="mySlides" src="images/10.PNG"style="width:50%">
<img class="mySlides" src="images/11.PNG"style="width:50%">
<img class="mySlides" src="images/12.PNG"style="width:50%">
<img class="mySlides" src="images/13.PNG"style="width:50%">
<img class="mySlides" src="images/14.PNG"style="width:50%">
<img class="mySlides" src="images/15.PNG"style="width:50%">
<img class="mySlides" src="images/16.PNG"style="width:50%">
<img class="mySlides" src="images/17.PNG"style="width:50%">
<img class="mySlides" src="images/18.PNG"style="width:50%">
</center>
<div class="w3-center">
<div class="w3-section">
<button class="w3-button w3-light-grey" onclick="plusDivs(-1)">❮ Prev</button>
<button class="w3-button w3-light-grey" onclick="plusDivs(1)">Next ❯</button>
</div>
<center>
<video width="500" controls autoplay>
<source src="video/CCC100_LACANARIA.mp4">
</video>
<iframe width="420" height="315"
src="https://www.youtube.com/embed/oTXvWgcc2jY?autoplay=1&mute=0">
</iframe>
</center>
<center>
<h2 class="red-text" style="color: red;">Project 1 Week 8 - Flowchart and Pseudocode</h2>
<body style="text-align: center; font-size: 20px;">
<h1> FACTORIAL</h1>
Enter a number: <input id="num">
<br><br>
<button onclick="fact()"> Factorial </button>
<p id="res"></p>
<script>
function fact(){
var i, num, f;
f = 1;
num = document.getElementById("num").value;
for(i = 1; i <= num; i++)
{
f = f * i;
}
i = i - 1;
document.getElementById("res").innerHTML = "The factorial of the number " + i + " is: " + f ;
}
</script>
</body>
<img src="images/ALGORITHM.PNG">
<br>
</br>
<img src="images/ALGORITHM2.PNG">
<br>
</br>
<img src="images/ALGORITHM3.PNG">
<br>
</br>
</center>
</div>
<script src="./index3.js"></script>
</body>
</head>
</html>