Tell us what’s happening:
- After the phone number p element, there should be an a element with the text Portfolio
This test keeps failing, and I can’t figure out why. I have tried altering the link, rewriting the Portfolio text, and checking for syntax errors. I’m coming up with nothing.
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="Pink daffodil">
<p class="full-name">Derek Lewis</p>
<p class="designation">The Dude</p>
<p class="company">Hire Me</p>
<hr>
<p>dgl@me.com</p>
<p>860-258-9393</p>
<a href="https://www.w3schools.com">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="https://github.com/Super-Derek?tab=repositories">Twitter</a>
<a href="https://github.com/Super-Derek?tab=repositories">LinkedIn</a>
<a href="https://github.com/Super-Derek?tab=repositories">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: none;
}
a:hover {
text-decoration: underline;
}
.business-card {
width: 300px;
padding: 20px;
margin-top: 100px;
font-size: 16px;
text-align: center;
margin-left: auto;
margin-right: auto;
background-color: teal;
}
hr {
height: 2px;
border-color: slategray;
border-style: dashed;
border-width: 1px;;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Safari/605.1.15
Challenge Information:
Design a Business Card - Design a Business Card