HTML Basics III Number 1. PLEASE HELP BUG

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

<Below this line, add a link to the EXACT exercise that you are stuck at.>
where I’m stuck
https://www.codecademy.com/courses/web-beginner-en-f8mcL/0/1?curriculum_id=50579fb998b470000202dc8b#
<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Its telling me that

is not in the font-family of Arial but thats exactly what I have written ``` Table Time

Tables Are Mega Sweet

	<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTo2oDDdi-C7z94UUstcuE4QSrgUNzdGDsakteUcbkjWqBRgcMl4ZaHjJo"/>
	
	
	
</body>
<do not remove the three backticks above>

you haven’t used the proper syntax you assign a value to style and other attributes using = style=“font-size: 20px;” you also always use a semicolon at the end of the property value

1 Like

Doesn’t he just need an = inbetween style and “font…”

OH I’m such a ■■■■■■ I forgot all about the “=” Thanks alot guys

when using css you usev
a semi colon after setting your properties. without it if you were to try and set font-size:30px; it would not read it in the browser

Whenever there is only one line of css that you need then it doesn’t require a semicolon, however when there are multiple lines of css then it will require a semicolon after each line. Although it is a good practice to use a semicolon after every line of css no matter what.

2 Likes

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