[FAQ] Common Problems #Read Me

Below are a few commonly asked questions & mistakes for HTML & CSS

If you are stuck then feel free to use the + New Topic button to post your question in a new thread and everyone will try their very best to help you :slight_smile:

How to use this forum
How to format posts


###Error in CSS code
If your CSS code is not passing as it has an error in it, written by @zainabrawat

###Error in HTML code
If your HTML code is not passing as it has an error in it, written by @zainabrawat

###Font Size
If you have set the font to the correct size but it is still not passing because of the font-size, written by @zainabrawat


Helpful links

CSS Glossary
HTML Glossary

HTML5 Features - CSS3 Features


We hope these common problems will help all of you with your coding.
If you see any questions in this category that can be answered by this FAQ, please link the user over here.

Thanks,
The Codecademy Moderators


If we see a brilliant post worthy of being added to this or any other FAQ we will send you a PM to ask you to repost your answer in one of the FAQs.

This topic is not for questions, if your problem is still not answered after reading through all these Common Problem then please create a new topic.

5 Likes

If you are getting an error in your CSS code check:

  • Is your CSS linked correctly to your HTML ?
    <link type="text/stylesheet" rel="stylesheet" href="stylesheet.css">
  • Is your element closed ?               SEE :arrow_right:
  • Are you targeting the correct selector ?
  • Is the spelling correct ?
  • Check and make sure!
1 Like

If you are getting an error in HTML code check:

* Are all your tags closed? Most HTML elements require both an opening and a closing tag: `

` :arrow_left:   `open` | `close`   :arrow_right: `

` * Your tags should be lowercase `

` uppercase p `

` :negative_squared_cross_mark: `

` lowercase p `

` :white_check_mark: `

` mixed upper&lowercase `

` :negative_squared_cross_mark:
3 Likes

Font size issues

It could be either of the two:

If your error is: Did you give your paragraph a font-size of 26px [or any other size]? It looks like it's currently 16px. then your issue will be your browser’s zoom. Make sure you’re not accidentally zoomed in/out? Use ctrl+0 (PC) or cmd+0 (Mac) to reset.

If your error is: it looks like your code is 12px instead of 10px then the issue is your browser’s minimum font size - click here to find out how change that.

2 Likes