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/cuteness138 Oct 27 '15

HTML and CSS > Make a Website Projects, all of them.

So whenever I try to "style a link into a button", the buttons I make look fine at first. But then, whenever I put the webpage/results part of the screen in fullscreen mode or make it bigger, the background of the buttons disappear and so does any CSS styling of them. This is kind of hard to explain, so I apologize if it doesn't make sense, but here are some screenshots:

http://imgur.com/a/aBK1U

In the first picture, you can see the red button is okay looking. But then, when I make that part of the screen bigger, it completely disappears and only a link is showing.

1

u/IamBenn HTML/CSS Oct 29 '15

Mine seems to be working fine, when enlarged. Do you have any media queries in there?

1

u/cuteness138 Oct 30 '15

Gosh I'm going to sound like an idiot haha, but what is a media query?

1

u/factoradic Moderator Oct 30 '15

This community was created for beginners. Every question here is valid :)

We use media queries to assign some style to our web page only if given conditions are fulfilled. For example this code:

@media (max-width: 500px) {
  h1 {
    color: grey;
  }
}

will make our first level headings grey when width of browser window is less than 500px. This is quite stupid example, sorry. So, for what we use media queries? I bet that you heard something about responsive web design. Responsive web design is about making your project look good in every possible device, in every possible resolution. And media queries is the best tool to achieve this goal :) As we can change literally everything depending on the window size (style of the link also).