13) Text Align Error-Make Sure You Use

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

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

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I have been on this practice for a while. I can’t figure out what I’m doing!

All I get is, “Oops, try again. Make sure you use ‘text-align:center’ for the h3 style attribute.”

What am I doing wrong?



<!DOCTYPE html>
<html>
	<head>
		<title>Nice background color!</title>
	</head>
	<body>
		 <h3 style:'text-align:center'>Favorite Football Teams</h3>
			<ol>
				<li style:"text-align:left">The Hawthorn Football Club</li>	
				<li style:"text-align:center">San Franscisco 49ers</li>
				<li style:"text-align:right">Barcelona FC</li>
			</ol>			
	</body>
</html>


<h3 style="text-align:center">Favorite Football Teams</h3>
3 Likes

Ah. Of course. I also used : instead of =… thank you!

1 Like

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