Design a Business Card - Full Stack

Tell us what’s happening:

Can some explain what should be done here with the text-decoration property. I have tried every selector or is this supposed to be a value?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="styles.css">
    <title>Business Card</title>
</head>

<body>
   
    <div class="business-card"> 
     <img class="profile-image" src=
     "https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="card">
     
      <p class="full-name"> </p>
       <p class="designation"> </p>
        <p class="company"> </p>
    </div>

</body>

</html>
/* file: styles.css */
body{
  background-color: rosybrown;
  font-family: Arial,sans-serif;
}
p {
  margin-top: 5px;
  margin-bottom: 5px;

}
 
 

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Design a Business Card - Design a Business Card

where would you want to use it?

I’m assuming the a element which I don’t have in my code.

Can you tell us why do you want to use a tag ? and your purpose too ?

Failed:7. The links of the page should have no underline by default.
The only example online was this:

a { text-decoration: none; }

maybe you want to add those first then, so you can see the style you are adding

2 Likes

Exactly @ILM is absolutely right, there should be 4 links in your code.

1 Like

Not only so you can see it, but the test can see it. The test is looking at the style of the element, not the code inside your CSS file.

Ok, so there are four links in the solution example, I guess the jpeg image is not what there talking about.

An image is not a link.