Design a Business Card - Design a Business Card

Tell us what’s happening:

i am stuck in step 4 of creating a background color of my code rosybrown

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>
    body {
      background-color: rosybrown;
      font-family: Arial, sans-serif;
    }
  </style>
</head>

<body>

</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/137.0.0.0 Safari/537.36

Challenge Information:

Design a Business Card - Design a Business Card

You’re currently using both a linked CSS file (styles.css) and inline styles within the <style> tag in your HTML file.

Since freeCodeCamp provides you with a separate styles.css file, I recommend moving your CSS into that file for better organization and maintainability. This helps keep your HTML clean and separates content from styling — a good practice in web development. :blush:

Let us know if you need help transferring the styles over!

1 Like

Thanks man I never thought of that :sweat_smile::innocent:

1 Like