Tell us what’s happening:
My code does not pass the test for #29 where it is asking for an an element with the text Portfolio following a p element for my phone number.
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="my id flower" />
<p class="full-name">Tiffany Bubriski</p>
<p class="designation">My Designation</p>
<p class="company">My Company</p>
<hr>
<p class="email">tbubriski@email.com</p>
<p class="phone">555-555-5555</p>
<a href="http://freecodecamp.org">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="http://www.twitter.com">Twitter</a>
<a href="http://www.linkedin.com">LinkedIn</a>
<a href="http://www.github.con">GitHub</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
body {
background-color: rosybrown;
font-family: Arial, sans-serif;
color:steelblue;
}
p{
margin-top: 5px;
margin-bottom: 5px;
}
a {
color: steelblue;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.business-card {
width: 300px;
background-color: white;
padding: 20px;
margin-top: 100px;
text-align: center;
font-size: 16px;
margin-left: auto;
margin-right: auto;
}
.profile-image {
width: 80%;
}
social-media a {
display:inline-block;
width: 33%;
margin-left: auto;
margin-right: auto;
}
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.3.1 Safari/605.1.15
Challenge Information:
Design a Business Card - Design a Business Card