-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (79 loc) · 3.65 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Data</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4"
crossorigin="anonymous"></script>
<script src="./js/main.js"></script>
<link rel="stylesheet" href="css/style.css">
<script src="./js/main.js"></script>
</head>
<body>
<div class="hero">
<div class="image"></div>
<nav class="navbar navbar-light">
<div class="container-fluid">
<a class="navbar-brand" href="./index.html">
<img src="./img/icons8-book-64.png" alt="" width="70" class="d-inline-block align-text-top">
<span style="vertical-align: -18px; color: #ff4321;">My Data</span>
</a>
<ul class="nav justify-content-end">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="./index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./Projects.html">Project</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./Subject.html">Subject</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./About.html">About</a>
</li>
</ul>
</div>
</nav>
<div class="img-box up">
<img src="img/pattern.png" class="back-img up" />
<img id="randomImage" class="main-img" />
</div>
<div class="info">
<h1>Hello <span id="MyName" style="cursor: pointer;text-decoration: underline;">There</span>!</h1>
<p>Welcome<br></p>
<a href="./Projects.html">Learn More</a>
</div>
<div class="social-links">
<a href="https://www.instagram.com/amankushwaha_28" target="_blank"><img
src="https://img.icons8.com/nolan/50/instagram-new.png" /></a>
<a href="#" class="toolltip">
<span class="toolltiptext">Unable On This Platform!</span>
<img src="https://img.icons8.com/nolan/50/facebook-circled.png" /></a>
<a href="https://github.com/Amank-root">
<img src="https://img.icons8.com/nolan/50/github.png" />
</a>
</div>
</div>
<div id="foot" style="display: none;"></div>
<script src="./js/main.js"></script>
<script>
function getRandomImage() {
var images = ['img/tablet.png', 'img/drawing.png', 'img/new.png'];
var image = images[Math.floor(Math.random() * images.length)];
return image;
}
function displayRandomImage() {
var htmlImage = document.getElementById("randomImage");
htmlImage.src = getRandomImage();
}
displayRandomImage();
</script>
</script>
</body>
</html>