I've recently started coding and I'm facing an issue. I can't seem to figure out why a link named "Food Taxi" isn't showing up. I added an href tag, but it's still not linking properly. I've tried moving some code around without success. If you need more information, please let me know. Any help would be appreciated. Thanks!
@font-face {
font-family: 'futuralight';
src: url('../Fonts/Futura Light/futura_light_regular-webfont.woff2') format('woff2'),
url('../Fonts/Futura Light/futura_light_regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'tekoregular';
src: url('../Fonts/Teko/teko-regular-webfont.woff2') format('woff2'),
url('../Fonts/Teko/teko-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'playfair_displayregular';
src: url('../Fonts/Playfair Display/playfairdisplay-regular-webfont.woff2') format('woff2'),
url('../Fonts/Playfair Display/playfairdisplay-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'poppinsmedium';
src: url('../Fonts/Poppins/poppins-medium-webfont.woff2') format('woff2'),
url('../Fonts/Poppins/poppins-medium-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
*{
margin:0px;
padding:0px;
border:0px;
}
.topnav {
background-color: rgb(84,104,217);
overflow: hidden;
font-family: 'futuralight';
font-weight:900;
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 20px 21px;
text-decoration: none;
font-size: 19px;
position: relative;
left:2%;
}
.topnav a:before {
content: "";
position: absolute;
width: 84%;
height: 2px;
bottom: 6px;
left: 8%;
background-color: white;
visibility: hidden;
transform: scaleX(0);
transition: all 0.3s ease-in-out 0s;
}
.topnav a:hover:before {
visibility: visible;
transform: scaleX(1);
}
.topnav a.active-menu:before {
content: "";
position: absolute;
width: 84%;
height: 2px;
bottom:6px;
left: 8%;
background-color: white;
visibility: visible;
transform: scaleX(1);
transition: all 0.3s ease-in-out 0s;
}
.bigcomser{
text-align:center;
font-size: 80px;
}
.bodycs{
background-color: #EEF0FC;
height:8000px;
}
.comser{
font-family: 'tekoregular';
padding-top:42px;
font-family: 'playfair_displayregular';
font-weight:900;
}
.abtcomser{
padding-top: 48px;
padding-bottom: 28px;
font-size: 20px;
position: relative;
left:10%;
width:80%;
}
.s4s{
position: relative;
left:10%;
margin-top:60px;
height:350px;
width:80%;
background-color: white;
box-shadow:
0 2.8px 2.2px rgba(0, 0, 0, 0.034),
0 6.7px 5.3px rgba(0, 0, 0, 0.048),
0 12.5px 10px rgba(0, 0, 0, 0.06),
0 22.3px 17.9px rgba(0, 0, 0, 0.072),
0 41.8px 33.4px rgba(0, 0, 0, 0.086),
0 100px 80px rgba(0, 0, 0, 0.12);
border-radius: 5px;
}
.s4simage{
width:38.3%;
position: absolute;
right:0%;
padding-top:10px;
padding-right:10px;
}
.s4stitle{
position: relative;
left:4%;
padding-top:30px;
color:rgb(84,104,217);
font-weight:900;
font-size: 40px;
font-family: 'futuralight';
text-decoration: none;
line-height: 1;
}
.s4stitle::before {
content: '';
background-color: rgb(84,104,217);
width:12px;
height: 100%;
position:absolute;
left: -4%;
top: 30px; /* = padding-top of parent */
}
.s4slink{
text-decoration:none;
color:rgb(84,104,217);
}
.titles4s{
padding-top:2px;
font-size:22px;
padding-left:4%;
font-family: 'futuralight';
font-weight:300;
}
.s4sparagraph{
width:55%;
position: relative;
left:4%;
font-size:17px;
top:60px;
font-family: 'futuralight';
}
#s4slink2{
text-decoration:none;
color:rgb(84,104,217);
position: relative;
left:4%;
top:90px;
font-family: 'futuralight';
font-size:18px;
}
.adaptennis{
position: relative;
left:10%;
margin-top:60px;
height:350px;
width:80%;
background-color: white;
box-shadow:
0 2.8px 2.2px rgba(0, 0, 0, 0.034),
0 6.7px 5.3px rgba(0, 0, 0, 0.048),
0 12.5px 10px rgba(0, 0, 0, 0.06),
0 22.3px 17.9px rgba(0, 0, 0, 0.072),
0 41.8px 33.4px rgba(0, 0, 0, 0.086),
0 100px 80px rgba(0, 0, 0, 0.12);
border-radius: 5px;
}
.adaptenimage{
width:38.3%;
position: absolute;
left:0%;
padding-top:10px;
padding-left:10px;
}
.adapten {
position: absolute;
right: 0;
padding-top: 30px;
color: rgb(84, 104, 217);
font-weight: 900;
font-size: 40px;
font-family: 'futuralight';
text-decoration: none;
line-height: 1;
padding-right: 4%;
}
.adapten::before {
content: '';
background-color: rgb(84, 104, 217);
width: 12px;
height: 100%;
position: absolute;
right: 0;
top: 30px;
}
.titleadap{
position: absolute;
right:4%;
padding-top:71px;
font-size:22px;
padding-left:4%;
font-family: 'futuralight';
font-weight:300;
}
.adappar{
width:55%;
position: absolute;
right:4%;
font-size:17px;
padding-top:140px;
font-family: 'futuralight';
}
.bh{
position: relative;
left:10%;
margin-top:60px;
height:350px;
width:80%;
background-color: white;
box-shadow:
0 2.8px 2.2px rgba(0, 0, 0, 0.034),
0 6.7px 5.3px rgba(0, 0, 0, 0.048),
0 12.5px 10px rgba(0, 0, 0, 0.06),
0 22.3px 17.9px rgba(0, 0, 0, 0.072),
0 41.8px 33.4px rgba(0, 0, 0, 0.086),
0 100px 80px rgba(0, 0, 0, 0.12);
border-radius: 5px;
}
.bhimg{
width:38.3%;
position: absolute;
right:0%;
padding-top:10px;
padding-right:10px;
}
.bht{
position: relative;
left:4%;
padding-top:30px;
color:rgb(84,104,217);
font-weight:900;
font-size: 40px;
font-family: 'futuralight';
text-decoration: none;
line-height: 1;
}
.bht::before {
content: '';
background-color: rgb(84,104,217);
width:12px;
height: 100%;
position:absolute;
left: -4%;
top: 30px; /* = padding-top of parent */
}
.bhl{
text-decoration:none;
color:rgb(84,104,217);
}
.tbh{
padding-top:2px;
font-size:22px;
padding-left:4%;
font-family: 'futuralight';
font-weight:300;
}
.bhp{
width:55%;
position: relative;
left:4%;
font-size:17px;
top:60px;
font-family: 'futuralight';
}
#bhl2{
text-decoration:none;
color:rgb(84,104,217);
position: relative;
left:4%;
top:90px;
font-family: 'futuralight';
font-size:18px;
}
.ft{
position: relative;
left:10%;
margin-top:60px;
height:350px;
width:80%;
background-color: white;
box-shadow:
0 2.8px 2.2px rgba(0, 0, 0, 0.034),
0 6.7px 5.3px rgba(0, 0, 0, 0.048),
0 12.5px 10px rgba(0, 0, 0, 0.06),
0 22.3px 17.9px rgba(0, 0, 0, 0.072),
0 41.8px 33.4px rgba(0, 0, 0, 0.086),
0 100px 80px rgba(0, 0, 0, 0.12);
border-radius: 5px;
}
.ftimg{
width:38.3%;
position: absolute;
left:0%;
padding-top:10px;
padding-left:10px;
}
.ftas {
position: absolute;
right: 0;
padding-top: 30px;
color: rgb(84, 104, 217);
font-weight: 900;
font-size: 40px;
font-family: 'futuralight';
text-decoration: none;
line-height: 1;
padding-right: 4%;
}
.ftas::before {
content: '';
background-color: rgb(84, 104, 217);
width: 12px;
height: 100%;
position: absolute;
right: 0;
top: 30px;
}
.ftl{
text-decoration:none;
color:rgb(84,104,217);
}
.ftltitle{
position: absolute;
right:4%;
padding-top:71px;
font-size:22px;
padding-left:4%;
font-family: 'futuralight';
font-weight:300;
}
.ftp{
width:55%;
position: absolute;
right:4%;
font-size:17px;
padding-top:140px;
font-family: 'futuralight';
}
#ftl2{
text-decoration:none;
color:rgb(84,104,217);
position: absolute;
right:4%;
top:288px;
font-family: 'futuralight';
font-size:18px;
}
@media only screen and (max-width: 830px) and (min-width: 760px) {
.topnav {
background-color: yellow;
overflow: hidden;
}
}
@media only screen and (max-width: 759px) and (min-width: 646px) {
.topnav {
background-color: red;
overflow: hidden;
}
}
@media only screen and (max-width: 645px) {
.topnav {
background-color: black;
overflow: hidden;
}
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="../CSS/stylecomser.css" />
<title>Community Service</title>
</head>
<body class='bodycs'>
<header class="topnav" id="topnav">
<a class="link" href="../index.html">Home</a>
<a class="link" href="#Academics">Academics</a>
<a class="link" href="#Projects">Projects</a>
<a class="active-menu" href="../Pages/communityservice.html">Community Service</a>
</header>
<div class='bigcomser'>
<p class='comser'>
Community Service
</p>
</div>
<div class='abtcomser'>
<p>Lorem, ipsum dolor sit amet consectetur adipisici
ng elit. Dicta, libero! Recusandae provident est quam quisquam.
Sequi itaque suscipit tempore corrupti officia maxime
nihil consequatur perspiciatis repellat placeat sed, voluptatum vitae.lor
em Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro similique, prov
ident libero laudantium amet odit unde dolor eaque earum qui impedit possimus natus est
distinctio commodi quod aut numquam temporibus?
</p>
</div>
<div class='s4s'>
<img class='s4simage' src="https://miro.medium.com/max/1200/1*mk1-6aYaf_Bes1E3Imhc0A.jpeg" alt="Missing File">
<p class='s4stitle'>
<a class='s4slink' href="https://www.solve4success.org" target="_blank">Solve 4 Success</a>
</p>
<p class='titles4s'>
F
</p>
<p class='s4sparagraph'>
Lorem ipsum dolor sit amet consectetu
r adipisicing elit. Eaque minus ab doloribus nulla quidem esse re
pellat...
// Text continues with similar structure for other sections
...
<a id='s4slink2' href="https://binaryheart.org" target="_blank">binaryheart.org</a>
</div>
</body>
</html>