-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (79 loc) · 3.32 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
90
91
92
93
<!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="icon" href="star-wars.png">
<link rel="stylesheet" href="star-wars.css">
<!-- <link rel="icon" href=""> -->
<title>Star Wars</title>
<!-- Meta Tags -->
<meta name="title" content="Star Wars">
<meta name="description" content="You can any Star Wars charcter details">
<meta name="theme-color" content="#FF0000">
<meta name="twitter:card" content="https://starwars-characters-info.netlify.app/star-wars.png">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://starwars-characters-info.netlify.app">
<meta property="og:title" content="Star Wars Charcter Info">
<meta property="og:description" content="You can serach any Star Wars charcter details ">
<meta property="og:image" content="https://starwars-characters-info.netlify.app/star-wars.png">
<!-- Twitter -->
<meta property="twitter:card" content="https://starwars-characters-info.netlify.app/star-wars.png>
<meta property="twitter:url" content="https://starwars-characters-info.netlify.app/star-wars.png">
<meta property="twitter:title" content="Star Wars Charcter Info">
<meta property="twitter:description" content="You can search any Star Wars charcter details">
<meta property="twitter:image" content="https://starwars-characters-info.netlify.app/star-wars.png">
</head>
<body>
<!-- particles.js container -->
<div id="particles-js"></div>
<!-- stats - count particles -->
<div class="count-particles"> </div>
<!-- Header Start of mute and unmute images -->
<header>
<img onclick="mute()" class="mute" src="mute.svg">
<img onclick="unmute()" class="un-mute" src="unmute.svg">
</header>
<!-- Header end of mute and unmute images -->
<!-- Input box for taking the data form user start -->
<section>
<div class="logo">
<img src="star-wars.png">
</div>
<div class="search">
<input type="text" oninput="debounce(main,1000)" class="search-bar" placeholder="Search Characters">
<div id="characters"></div>
<div class="search-icon-box">
<img class="search-icon" src="search-icon.svg">
</div>
</div>
</section>
<!-- Input box for taking the data form user end -->
<!-- Showing the results start -->
<div class="personal-data">
<div class="character-name"></div>
<div class="character-details">
</p>
<div id="personal-info" >
<span>
Personal Info
</span>
</div>
<div id="anatomy" >
<span>
Anatomy
</span>
</div>
</div>
<!-- Showing the results start -->
<button onclick="goBack()" class="go-back-btn">Go Back</button>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<!-- stats.js lib -->
<!-- <script src="http://threejs.org/examples/js/libs/stats.min.js"></script> -->
<script type="text/javascript" src="star-wars.js"></script>
<script>
</script>
</body>
</html>