Design a Business Card - Design a Business Card

Tell us what’s happening:

my css styles are not passing the test on the designing of the business card even though they are correct and i confirmed with other solutions on the forum. i don’t know the reason.

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">
    <style>
    .business-card {
  width: 300px;
  background-color: red;
  padding: 20px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 16px;
}

.portfolio-link {
  text-decoration: none;
}

body {
  background-color: rosybrown;
  font-family: Arial, sans-serif;
}

.profile-image {
  max-width: 100%;
}

a {
  text-decoration: none;
}

p {
  margin-top: 5px;
  margin-bottom: 5px;
}

</style>
</head>

<body>
<div class="business-card">
    <img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="a natural flower with pink petals">
    <p class="full-name">Full-name</p>
    <p class="designation">Designation</p>
    <p class="company">Company</p>
    <hr>
    <p>Email address</p>
    <p>Phone number</p>
    <a class="portfolio-link" href="https://myportfolio.com">Portfolio</a>
    <hr>
    <div class="social-media">
        <h2>Connect with me</h2>
        <a href="https://twitter.com">Twitter</a>
        <a href="https://linkedin.com">LinkedIn</a>
        <a href="https://Github.com">GitHub</a>
    </div>
</div>
</body>

</html>
/* file: styles.css */

Your browser information:

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

Challenge Information:

Design a Business Card - Design a Business Card

please use the styles.css file to write your CSS

but

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.