Error


#1

HTML I'm pretty sure my code is correct, but it says I'm wrong and I'v done this over and over could someone please help me?

https://www.codecademy.com/courses/web-beginner-en-y2Yjd/1/2?curriculum_id=50579fb998b470000202dc8b#

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

#2

Here is the code

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

style is an attribute just like class , id , etc etc
the text that we write inside the paragraph tag should not be inside these attribute...they are wriiten separately.

Example

<p write your attributes here>Some text</p>

#3

Thank you, I felt that example wasn't to helpful.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.