What is wrong with this: Font size_ HTML&CSS, please help

.<!DOCTYPE html>
		<title>First font size change</title>
		<p> <p style="font-size: 10px"> </p> Some text for you to make tiny! </p>
		<p> <p style="font-size: 20px"> </p> Some text for you to make normal size!</p>
		<p> <p style="font-size: 40px"> </p> Some text for you to make super big!</p>

You closed the tags before you put text in them.

when you have a paragraph:

<p>i am a paragraph</p>

you can add the style attribute to the opening tag:

<p style="">i am a paragraph</p>

no need to create additional opening or closing tags.

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:


the backtick is located above the tab key on your keyboard

@cadecodes, you missed something. And he added an additional tag where he added the style attribute, rather then just adding the style attribute to the openings tag in the first place

1 Like

That did it thank you