I have put <p></p> and typed in unordered list between them but keeps on showing error


#1

<!DOCTYPE html>
<html>
	<head>
		<title>Unordered Lists</title>
	</head>
	<body>
	    <h1>some random thoughts</h1>
	    <p>
	    <ul>
	        <li></li>
	        <li></li>
	        <li></li>
	        <li></li>
	    </ul>  
	    </p>
	</body>
</html>

"Oops, try again. Make sure to type your paragraph above your unordered list between your

tags!"

Whats wrong with this?


#2

like the error message says, close the paragraph before the unordered list:

<h1>some random thoughts</h1>
	    <p><!-- close your paragraph here, (re)move 
the paragraph closing tag after the unordered list -->
	    <ul>

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