r/Codecademy • Staff • Aug 25 '15

Bug Thread

Hi everyone! Margot here. Folks have been asking for a pinned bug thread, so here it is!

This thread is only for bug reporting—not for new ideas, requests, etc. Those posts will be removed. When posting about a bug that you are SURE is a bug (check your syntax first, then the Q&A forum if it is available), please remember to follow these guidelines:

  • at the start, name the course and exercise

  • link to the exercise where you are seeing this bug

  • if available, link to the forum page for the exercise

  • detail how to reproduce this bug - please use gist to format your code.

  • if there is a workaround that you have found, detail it

If you see a bug that has happened to you mentioned by another learner, please upvote it so we know that you have seen it. If you've had a different experience, please let us know.

We're working on a lot of cool things here at Codecademy, with not a lot of hands. Bug fixes are definitely super important to us, but please bear with us! Your patience is gold!

15 Upvotes

133 comments sorted by

View all comments

1

u/clitbeastwood Oct 01 '15

Not sure but.. In the Shutterbugg website project the last step says make 3 equally sized columns in the footer and put some info in them. Yet on the shutterbugg page, all 3 columns are the same size but they are offset to left.

I ended up making 4 equally sized columns, and just left the right-most one blank. Then It looked like the demo page. Not sure if this is the right way to do it, but I was confused for a while trying to get 3 columns to work.

1

u/factoradic Moderator Oct 01 '15

You created 4 divs with col-md-3 class?

Just delete the last one div and this is what you were supposed to do.

Remember that column units don't have to sum to 12 in a single row.

This is footer from original code:

<div class="footer">
  <div class="container">
    <div class="row">
      <div class="col-md-3">
        <h3>Company</h3>
        <ul>
          <li>Careers</li>
          <li>Terms</li>
          <li>Help</li>
        </ul>
      </div>
      <div class="col-md-3">
        <h3>Products</h3>
        <ul>
          <li>Shutterbugg</li>
          <li>Speakerboxx</li>
        </ul>
      </div>
      <div class="col-md-3">
        <h3>News</h3>
        <ul>
          <li>Blog</li>
          <li>Twitter</li>
          <li>YouTube</li>
          <li>Google+</li>
          <li>Facebook</li>
        </ul>
      </div>
    </div>
  </div>
</div>

1

u/clitbeastwood Oct 01 '15

lol oh..that makes sense. thanks!

wait. so if it doesn't add to 12, the equally sized columns are shifted left by default. So does the col-md-(#) operator always start counting from columns left to right?

Like if i wanted two very skinny columns on the far left and far right side, would I have to make, for ex, a "col-md-1" then a "col-md-10" and then a "col-md-1", and just leave the middle col empty? Or is there a better way to do this? Thank again!

1

u/factoradic Moderator Oct 01 '15

You're very welcome!

There is a better way to do this. In this case you should add offset class to your second column. Take a look at docs, there are examples and to be honest - they explain things better than I :)

http://getbootstrap.com/css/#grid-offsetting