Challenge Project Build a website design system

Hello, I was wondering if anyone could let me know if I have started my code off right for this challenge project.

  <title>My Website Style Guide</title>
  <link rel="stylesheet" href="styles.css" />
  <link rel="preconnect" href="" />
  <link rel="preconnect" href="" crossorigin />
  <div class="box"></div>
  <p>I am a box-model!<p>

  box-sizing: border-box;
  background-color: yellow;
  width: 250px;
  height: 150px;
  margin: 10px;
  padding: 20px;
  border: 15px dotted green;
  border-color: green;
  padding: 5px;

You have CSS in the same file as your HTML without a style tag, so the styles won’t import correctly. Either move your CSS to the styles.css file you are importing or wrap your CSS in and that should style it correctly.

Also, your paragraph text is outside the box div, so it won’t display inside of it, if that’s what you were wanting.

oh ok. Thank you so much for your help.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.