Help me with these. I thought I got the right answer

Tell us what’s happening:

Your code so far

  #left {float:left;}
    width: 50%;
  #right {float:right;}
    width: 40%;
  aside, section {
    padding: 2px;
    background-color: #ccc;
  <section id="left">
    <p>Good stuff</p>
  <aside id="right">

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 6.0; A1601 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.68 Mobile Safari/537.36.

Link to the challenge:

You have the right idea, you’re just inserting it wrong. (That’s what she said.)

You started with:

  #left {

    width: 50%;

And you ended up with:

#left {float:left;}

    width: 50%;

That float: left; should be at the same level as that width. Notice that you added a closing bracket after the float: left;. Count the number of opening brackets and closed brackets in the style section. Do you see the problem? And of course #right has the same problem.

Please let us know if this wasn’t a sufficient enough hint.

1 Like

Got it. Thank you. :slight_smile: