Font size

how do i change the font size of a sentence to 10px or 20px i am stuck on this excersise

Hi @clevon7,

Which exercise is it that you are stuck on? Please give us the link to it.

1 Like

In seperate CSS file:

.selector {
  font-size: 20px;

Inline CSS:
<p style="font-size: 20px;">Hello world</p>


so thats how you change the font size

	<p> Some text for you to make tiny! </p>
	<p> Some text for you to make normal size!</p>
	<p> Some text for you to make super big!</p>

n line 7, make the text size 10px.
On line 8, make the text size 20px.
On line 9, make the text size 40px.

Hi @clevon7,

That exercise is expecting you to use inline CSS so it will look like this, except with your font size and text:

<p style="font-size: 12px">Some text here</p>

Have you tried that already?

no i am going to try it now

1 Like

thank you it worked !!!1

1 Like

thank you i got it now !!!

thank you i was having trouble on the same exercise

glad i wasnt the only one struggling with this lol this helped me a ton thanks!!