-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (43 loc) · 1.46 KB
/
index.html
File metadata and controls
52 lines (43 loc) · 1.46 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>SkillEdu</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://code.jquery.com/jquery-3.2.1.js"></script>
</head>
<body>
<div class="sentence">
<div id="empty">
</div>
<div id="line">
<p class="show"></p>
<div class="hide"></div>
</div>
<div id="fro">
<form>
<input type="text" placeholder="Your Name" name="uname" required>
<input type="text" placeholder="Email Address" required>
<input type="text" placeholder="Phone Number" required>
<button type="submit">Get UpSkilled!</button>
</form>
</div>
</div>
<script>
var text = " Get The Skills you need to score an internship. ",
soFar = "";
var visible = document.querySelector(".show"),
invisible = document.querySelector(".hide");
invisible.innerHTML = text;
var t = setInterval(function(){
soFar += text.substr(0, 1),
text = text.substr(1);
visible.innerHTML = soFar;
invisible.innerHTML = text;
if (text.length === 0) clearInterval(t);
}, 60)
</script>
</body>
</html>