-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (71 loc) · 2.86 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
87
88
89
<!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">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="sidebar sidebarVanish">
<nav>
<ul>
<li><a href="./index.html" color="blueviolet" target="_blank">Home</a></li>
<li><a href="./intro.html" color="blueviolet" target="_blank">My Intro</a></li>
<li><a href="./blog.html" color="blueviolet" target="_blank">Blog</a> </li>
<li> <a href="./projects.html" color="blueviolet" target="_blank">My Projects</a></li>
<li> <a href="./accounts.html" color="blueviolet" target="_blank">My Social Media Accounts</a></li>
<li> <a href="./contact.html" color="blueviolet" target="_blank">Contact Me</a></li>
</ul>
</nav>
</div>
<div class="main">
<div class="hamburger">
<img src="ham.png" alt="" class="ham" width="35px">
<img src="crossmenu.png" alt="" class="cross">
</div>
<div class="topSection" id="topSectionID">
<div class="heading" id="headingID">
<p class="para" id="paraID1"></p>
</div>
<div class="logo" id="logoID">
<!-- <img src="mypic.jpeg" alt="Myself Amrit" height="100"> -->
</div>
</div>
<div class="infoContainer">
<div class="devInfo">
<h1 class="para" id="paraId2">Hii !! Myself Amrit,I am a beginner level Web-Developer & Tech-Enthusiasist</h1>
<div class="buttons">
<button>Download CV</button>
<button>Contact Me</button>
</div>
</div>
<div class="devPic">
<img src="devPic.jpg" alt="Developer" width="auto" height="auto">
</div>
</div>
</div>
</div>
<!-- <script src="index.js"></script> -->
<script src="script.js"></script>
<script>
let i = 0;
var txt = 'Hi !! Welcome to My Website';
var speed = 100;
function typeWriter() {
if (i == txt.length) {
i = 0;
document.getElementById("paraID1").innerHTML = "";
} else if (i < txt.length) {
document.getElementById("paraID1").innerHTML += txt.charAt(i);
++i;
setTimeout(typeWriter, speed);
}
}
setTimeout(typeWriter, 50);
setInterval(typeWriter, 5000);
</script>
</body>
</html>