Font size


#1

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


#2

Hi @clevon7,

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


#3

In seperate CSS file:

.selector {
  font-size: 20px;
}

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


#4

courses/web-beginner-en-y2Yjd/1/2?curriculum_id=50579fb998b470000202dc8b


#5

so thats how you change the font size


#6
	<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>
</body>

#7

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


#8

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?


#9

no i am going to try it now


#10

thank you it worked !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1


#11

thank you i got it now !!!!!!!!!!!!!!!!!!


#12

thank you i was having trouble on the same exercise


#13

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


#14