Help! 10px


I keep getting this error: "Oops, try again. Did you set the first paragraph's font-size to 10px? It looks like it's 16px. (If you're getting a weird decimal font size"
Ive tried adjusting my screen and did everything else i can think of but i cannot get it to identify 10px


There seems to be a problem in your code, 16px is the default font-size, could you copy paste your code to the forum?


The Batman

The Batman

The Batman


i tried to post the code, but it just showed my work


<!DOCTYPE html>
		<title>First font size change</title>
		<p style="font-size;10px">The Batman</p>
		<p style="font-size;20px">The Batman</p>
		<p style="font-size;40px">The Batman</p>


after a property (font-size) there should be a colon, not a semi-colon

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