What is wrong with my code?


#1

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Linkapalooza</title>
	</head>
	<body>
		<a href="http://www.codecademy.com/">Codecademy!</a>
		<ul>
			<li id>
				<a href="http://www.codecademy.com/learn">Learn</a>
			</li>
			<li>
				<a href="http://www.codecademy.com/create/creator">Teach</a>
			</li>
			<li>
				<a href="http://www.codecademy.com/edit_account/basic_info">Settings</a>
			</li>
			<li>p
			</li>
		</ul>
	</body>
</html>

/*Add your CSS below!*/
ul{
font-family:cursive;
text-decoration:none
}
this is the mistake:Oops, try again. Did you remember to set the text-decoration of all the links inside the unordered list to none;?


#2

You forgot to add a semicolon after you set the text-decoration to none.
The semicolon acts as a period and it tells the computer to execute that line of code.


#3

@draygglez, for the last property + value a semi-colon isn't mandatory, but i do recommend it, but it is not what is causing the error.

@methodwhiz77978, you want to target the links inside the unordered list, so links should be part of your css selector. Remember that we use link to describe this html element: <a></a>, so take a minute to think what the correct css selector should be


#4

Oops. I somehow did not see the full code posted by @methodwhiz77978 at first until now.
Perhaps my browser did not fully load. Sorry bout that.


#5

The error message gives a strong indication:

The code wasn't visible, i formatted it.

@methodwhiz77978, for next time, use one of the two following options to make your code/indent is visible:

select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:

```
<p>visible</p>
```

the backtick is located above the tab key on your keyboard