HTML Basic II/ Lesson 5


#1

I cannot understand what I am doing wrong. The instructions is to create a list. I followed it step by step and it looks fine in the preview but the lesson is saying I am doing it wrong. What can I do to pass it,

  1. In your tag, create an

    tag and put the text 'Some random thoughts' inside it.

  2. Under your

    tag, create a paragraph using the

    tag which describes the list you will make.

  3. Finally, create an unordered list with the
      tag which contains a list of four random thoughts, each of which should be placed inside of an
    • tag

This is what I coded:

<html>
	<head>
		<title>Unordered Lists</title>
	</head>
	<body>
	    <h1>Some random thoughts</h1>
	    <p>
	        <ul>
	            <li>Quit Smoking</li>
	            <li>Learn to code</li>
	            <li>Build website</li>
	            <li>Launch and build website</li>
	        </ul>
	    </p>
	</body>
</html>)

This is how it looks:

Some random thoughts

•Quit Smoking
•Learn to code
•Build website
•Launch and build website

This is the message I get:

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

tags!

I have tried to rewrite it all kind of ways. This was my final attempt after making no progress. Please explain to me how it is suppose to be written.


#2

I cannot tell what the instructions are. Please surround all tags with backticks.


#3

The paragraph should be closed before the unordered. Close your paragraph before starting the list


#4

Will try now. Thanks!


#5
<!DOCTYPE html>
<html>
	<head>
		<title>Unordered Lists</title>
	</head>
	<body></body>
	<h1>Some Random Thoughts</h1>
	<p></p>
	<ul>
	    <li>Quit Smoking</li>
	    <li>Learn to code</li>
	    <li>Build a website</li>
	    <li>Start a business</li>
	</ul>
</html>

This one did not work as expected either. I am stumped on this lesson. I have reset entire thing and started over.


#6

Nevermind it is resolved. Thanks!


#9

How did you resolve? I am having the same issue!


#10

If you need help, post your code + question you have.


#11

juzzkea had all their code outside the body, make sure its inside the body tags


#13

<!DOCTYPE html>
<html>
<head>
<title>Unordered Lists</title>
</head>
<body><h1>Some Random Thoughts</h1>
<p>
<ul>
<li>learn to code</li>
<li>book driving test</li>
<li>save for india</li>
</ul>
</p>
</body>
</html>

I am receiving error message: Make sure to type your paragraph above your unordered list between your

tags!

I have tried opening and closing paragraph above the list but that doesn't seem to work either.

Thanks for response I joined yesterday!


#14

Seems i can quote myself, maybe also insert some text inside the paragraph.


#15

Sorted! Adding text between the paragraph seemed to do it.

Thank you.