Tell us what’s happening:
After e^running the code ,it gives me this error in the step 7:The links of the page should have no underline.
and i give the all a elements none underline attribute
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="Rose flower">
<p class="full-name">Halima Abbas</p>
<p class="designation">Wed Design</p>
<p class="company">Hala solutions</p><hr>
<p>halimaabbas952866@gmail.com</p>
<p>+41 77 448 25 95</p>
<a href="www.myportfolio.com">Portfolio</a><hr>
<div class="social-media">¨
<h2>Connect with me</h2>
<a href="www.twitter.com">Twitter</a>
<a href="www.linkedin.com">LinkedIn</a>
<a href="www.github.com">GitHub</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
body{
background-color:rosybrown;
font-family:Arial,sans-serif;
}
p{
margin-top:5px;
margin-bottom:5px;
}
a
{
text-decoration-line:none;
}
.business-card{
width:300px;
background-color:lightblue;
padding:20px;
margin-top:100px;
font-size:16px;
text-align:center;
margin-left:auto;
margin-right:auto;
}
.profile-image
{
max-width: 100%;
text-decoration-line:none;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Challenge Information:
Design a Business Card - Design a Business Card