Tell us what’s happening:
I don’t know whats going on.. when i check my code, i get the error saying “the links of the page should have no underline.” The preview window shows my links are not underlined however.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Business Card</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="business-card">
<img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="flower image">
<p class="full-name">Kindle Hurley</p>
<p class="designation">Web Developer</p>
<p class="company">Company Name</p>
<hr>
<p class="email">email@email.com</p>
<p class="phone">555-555-5555</p>
<a class="portfolio-link" href="www.google.com">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a class="links" href="www.twitter.com">Twitter</a>
<a class="links" href="www.linkedin.com">LinkedIn</a>
<a class="links" href="www.github.com">GitHub</a>
</div>
</body>
</html>
/* file: styles.css */
body{
background-color:rosybrown;
font-family:Arial,sans-serif;
}
.business-card{
width:300px;
background-color:tan;
padding:20px;
margin-top:100px;
text-align:center;
font-size:16px;
margin-left:auto;
margin-right:auto;
}
.profile-image{
max-width:100%;
}
p{
margin-top:5px;
margin-bottom:5px;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 Edg/147.0.0.0
Challenge Information:
Design a Business Card - Design a Business Card