Skip to content

Commit

Permalink
Fixes Issue CSEdgeOfficial#569
Browse files Browse the repository at this point in the history
Description: Add a navigation bar to the Free Content page with links to the "Free E-Books," "Free Resources," and "Free Videos" sections. Implement a hover effect on the navigation links to enhance user interaction.
  • Loading branch information
dipanwita1405 authored Jul 18, 2024
1 parent b0aa947 commit 5050ea3
Showing 1 changed file with 43 additions and 5 deletions.
48 changes: 43 additions & 5 deletions csedge.courses/Resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,46 @@ <h1 id="home">CSEdge</h1>
<li><a href="./index.html#faq">FAQ</a></li>
</ul>
</nav>
<nav class="mid">
<ul>
<li><a href="#free-ebooks">Free E-Books</a></li>
<li><a href="#free-resources">Free Resources</a></li>
<li><a href="#free-videos">Free Videos</a></li>

</ul>
</nav>


<style>
nav.mid {
text-align: center;
margin-top: 10px;
font-size: 1.0rem;
color: #000000;
background-color: #5f8283;
display: flex;
justify-content: center; /* Center the ul horizontally */
}

nav.mid ul {
list-style-type: none;
display: flex;
gap: 20px;
padding: 0;
margin: 0;
}


nav.mid ul li a {
text-decoration: none;
color: black;
font-size: 16px;
}
.mid a:hover {
color: white;
background-color: black;
border-radius: 5px;
}
.header {
text-align: center;
margin-top: 50px;
Expand Down Expand Up @@ -306,7 +344,7 @@ <h1 id="home">CSEdge</h1>
</style>

<!--Free E-Books Section-->
<h1 class="header">Free E-Books</h1>
<h1 id="free-ebooks" class="header">Free E-Books</h1>
<div class="card-container">
<div class="ebook-card">
<img src="https://ouch-cdn2.icons8.com/bl9xOqdFsrPmb0M5HsMQp-6cGpZgx4VTtIFC2ZrCLh0/rs:fit:456:456/czM6Ly9pY29uczgu/b3VjaC1wcm9kLmFz/c2V0cy9wbmcvNjg2/LzdmMWM2NmVmLWM5/MzUtNDZkNy1hMWMz/LTcwYWFmYzA2MzEy/Zi5wbmc.png"
Expand Down Expand Up @@ -434,7 +472,7 @@ <h2 class="ebook-title">JavaScript Professionals</h2> <br>
</script>

<!--Free Courses-->
<h1 class="header">Free Resources</h1>
<h1 id="free-resources" class="header">Free Resources</h1>
<div class="card-container">
<article class="card">
<header>
Expand Down Expand Up @@ -631,7 +669,7 @@ <h3>Create data-driven websites by using the Python framework Django</h3>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!--YT Videos-->
<h1 class="header">Free Videos</h1>
<h1 id="free-videos" class="header">Free Videos</h1>
<div class="container">
<div class="videos">
<!-- Video 1 -->
Expand All @@ -650,7 +688,7 @@ <h2>CS50W - Lecture 0 - HTML and CSS</h2>
</div>
</div>
<!-- Video 2 -->
<div class="video-card">
<div class="video-card">
<a href="https://youtu.be/EOLPQdVj5Ac?list=PLhQjrBD2T380xvFSUmToMMzERZ3qB5Ueu" target="_blank">
<img src="https://i.ytimg.com/vi/EOLPQdVj5Ac/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCg16BfC7QsjRuz5gE4geYmHsmDow"
alt="Video 1">
Expand Down Expand Up @@ -886,4 +924,4 @@ <h4>Follow US</h4>

</body>

</html>
</html>

0 comments on commit 5050ea3

Please sign in to comment.