Learn CSS Flexbox by Building a Photo Gallery

Tell us what’s happening:
somehow when i put in the line:
“text-align: center;”
it does not work, neither does any other line of code and i dont know why

Your code so far
.header {
text-transform: uppercase;
padding: 32px;
background-color: #0a0a23;
color:#fff;
border-bottom: 4px solid #fdb347
text-align: center;

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Rothko Painting</title>

<!-- User Editable Region -->

<link rel="stylesheet" href=""styles.css>

<!-- User Editable Region -->

  </head>
  <body>
    <div class="canvas">
    </div>
  </body>
</html>

Your browser information:

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

Challenge: Learn the CSS Box Model by Building a Rothko Painting - Step 7

Link to the challenge:

here, your css sheet is not inside the quotations

i dont think that is it, in my current code that is not a problem. also, that doesnt explain why all the previous statements work normally

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