Skip to content

Commit 63ab819

Browse files
Added footer section in Country details app
1 parent fcb4e42 commit 63ab819

File tree

2 files changed

+40
-6
lines changed

2 files changed

+40
-6
lines changed

50 - Country Detail/index.html

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
src="https://code.jquery.com/jquery-3.6.0.slim.min.js"
2121
integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI="
2222
crossorigin="anonymous">
23-
</script>
24-
<script src="app.js"></script>
23+
</script>
24+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
25+
<script src="app.js"></script>
2526
</head>
2627
<body style="background-color:#25274D">
2728
<div class="container main">
@@ -45,12 +46,21 @@ <h1>Country Details App</h1>
4546
<div class="col-md-3"></div>
4647
</div>
4748

48-
<div class="row">
49+
<!-- <div class="row">
4950
<div class="col-md-8"></div>
5051
<div class="col-md-4">&lt;/> with ❤ by <a href="https://github.com/TushitaParashar" style="text-decoration:none" >Tushita Parashar</a></div>
51-
</div>
52+
</div> -->
5253

53-
</div>
54+
55+
</div>
56+
<footer>
57+
<div>&lt;/&gt; with ❤ by <a href="https://github.com/TushitaParashar" target="_blank">Tushita Parashar</a></div> <br>
58+
<div class="subfooter" >
59+
<a href="#" target="_blank" class="hover-links"><i class="fa-brands fa-linkedin fa-xl" style="color: #4400ff;"></i></a>
60+
<a href="#" target="_blank" class="hover-links"><i class="fa-brands fa-instagram fa-xl" style="color: #fb00ff;"></i></a>
61+
<a href="#" target="_blank" class="hover-links"><i class="fa-brands fa-whatsapp fa-xl" style="color: #097000;"></i></a>
62+
</div>
63+
</footer>
5464
</body>
5565
</html>
5666

50 - Country Detail/style.css

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,28 @@ a:visited{
3030
a{
3131
font-weight: bolder;
3232
color: aliceblue;
33-
}
33+
}
34+
35+
/* footer */
36+
footer {
37+
background-color: #1c0930;
38+
color: white;
39+
padding: 20px 0;
40+
text-align: center;
41+
position: fixed;
42+
bottom: 0;
43+
width: 100%;
44+
}
45+
46+
footer a {
47+
color: white;
48+
text-decoration: none;
49+
}
50+
51+
footer a:hover {
52+
text-decoration: underline;
53+
}
54+
55+
.fa-brands{
56+
margin: 0px 20px;
57+
}

0 commit comments

Comments
 (0)