-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (79 loc) · 3.75 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
<!--
Name: RahulSahOfficial
mail:https://developersah@gmail.com
GitHub profile link : https://github.com/RahulSahOfficial
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Animated Country Cards</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css?v=3" />
</head>
<body>
<div class="outerbox">
<div class="mainbox">
<div class="countrycard animate__animated animate__backInLeft">
<div class="imgpart">
<img id="flagimg" src="https://restcountries.eu/data/ind.svg" alt="Flag Img">
</div>
<div class="textpart">
<h1 id="name">India</h1>
<h2><span id="capital">New Delhi</span>(<span id="continent">Asia</span>)</h2>
<div class="detdiv">
<div class="eachdiv">
<h3 class="header">Population</h3>
<p id="population">1.30 B</p>
</div>
<div class="eachdiv">
<h3 class="header">Currency</h3>
<p><span id="currencyname">INR</span> (<span id="currencysymbol">₹</span>)</p>
</div>
<div class="eachdiv">
<h3 class="header">Language</h3>
<p id="language">Hindi</p>
</div>
</div>
<div class="borderdiv">
<h3 class="header">Boundaries : </h3>
<div class="borderflagbox" id="borderflagbox">
<img class='animate__animated animate__delay-1s animate__zoomIn' src="https://restcountries.eu/data/afg.svg" title="AFG">
<img class='animate__animated animate__delay-1s animate__zoomIn' src="https://restcountries.eu/data/bgd.svg" title="BGD">
<img class='animate__animated animate__delay-1s animate__zoomIn' src="https://restcountries.eu/data/btn.svg" title="BTN">
<img class='animate__animated animate__delay-1s animate__zoomIn' src="https://restcountries.eu/data/mmr.svg" title="MMR">
<img class='animate__animated animate__delay-1s animate__zoomIn' src="https://restcountries.eu/data/chn.svg" title="CHN">
<img class='animate__animated animate__delay-1s animate__zoomIn' src="https://restcountries.eu/data/npl.svg" title="NPL">
<img class='animate__animated animate__delay-1s animate__zoomIn' src="https://restcountries.eu/data/pak.svg" title="PAK">
<img class='animate__animated animate__delay-1s animate__zoomIn' src="https://restcountries.eu/data/lka.svg" title="LKA">
</div>
</div>
</div>
</div>
<button class="btn" onclick="randomcountry()">Next Country <i class="fa fa-angle-right" aria-hidden="true"></i></button>
</div>
</div>
<div class="links animate__animated animate__delay-2s animate__bounceInRight">
<ul>
<li><a target="_blank" href="https://github.com/RahulSahOfficial"><i class="fa fa-github" aria-hidden="true"></i></a></li>
<li><a target="_blank" href="https://www.instagram.com/developer_sah/"><i class="fa fa-instagram" aria-hidden="true"></i></a></li>
<li><a target="_blank" href="https://twitter.com/developer_sah"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
</ul>
</div>
<div class="footer">
<p>© Copyright 2020 | Created By Rahul Sah</p>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="script.js"></script>
</body>
</html>