Spot the Error!
[rule=“100%”]Orange[/rule]
Hey folks, we have a fun, quick challenge for you.
The quoted text below (a mock forum question) has some errors in it. All you have to do is spot as many errors as you can and list them in your reply. They may include such things as grammatical mistakes and/or errors or potential problems in the code.
There is extra credit for explaining why something is an error. The winner will be the person who spots the most errors, or who gives the best explanation of what the errors are. (So don’t be discouraged if someone beats you to it. Just give a better explanation.)
The prize is a free SitePoint ebook.
The competition will only be open for about 24 hours, so you need to be quick.
Note
By “error” I’m not talking about preferences or stylistic choices. For example, “coler” is a misspelling, while “color” and “colour” are accepted alternatives. Likewise, while it may not be ideal to wrap an <h1> in a <div>, it’s not strictly an error. (I’ve tried not to make too many rules, so just have fun with this, and let’s see what happens!)
Tip
There are arguably at least 11 errors here.
I have a problem with the top div, Its supposed to be red, but its bacground color is not showing up. What am I missing.
html
Code:
<div class="top">
<h1>My Site</hl>
</div>
css
#top {background: #0000ff;}
h1 {float: left;}
OK guys, this competition is now over, though you are welcome to discuss the issues further. The winner is announced in post #27, with some comments on the various issues as well.