Https://www.codecademy.com/courses/learn-html/lessons/html-tables/exercises/table-css

They asked me to change the font size of all table headings and table data to 18 pixels. in the HTML tables, I did but it didn’t work whyyy !!
this is my code :

th, td {
font-family: ‘Lato’, sans-serif;
font-weight: 400;
padding: 18px;
text-align: left;
width: 33.3333%;
}

https://www.codecademy.com/courses/learn-html/lessons/html-tables/exercises/table-css

Hello @meralimohamedali0742! Welcome to the forums! Did you actually add font-size: 18px;?

1 Like

i was thinking thati should modify something, thnx for helping idk anything about css yet.
thank you again

1 Like

Welcome to the forums @meralimohamedali0742! I saw it’s your first time posting! :smile:

The padding rule will just put some space, called padding, around an object. You should use the font-size rule instead that will change the size of your text. The value would be 18px since it tells you to change the size to 18 pixels.