Div type selector Step 22 in CSS

My HTML code for my div tag.

type or p </head>
  <body>
    <div class="content">
      <header>aste code here
.content {

  width: 300px;

}

this is my css code for my div tag. I cant find the correct selector. please help.

Hey there,

Could you provide a link to the challenge you’re working on?

1 Like

Create a new type selector in the style sheet that gives your div element a width of 300px .

This is what the challenge asks for. How do you select a div element?

1 Like

Mod Edit: SOLUTION REDACTED

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

3 Likes

me parece genial que sea asi…a veces cree uno que eso es ayudar…yo hace dias publique una guia pero viendo que si hay cosas que se deben investigar y no solo darle la solucion por que otro la publico. buen aporte

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