13) Text Align Error-Make Sure You Use


#1

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


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>


#2

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

#3

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


#4

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