how do i change the font size of a sentence to 10px or 20px i am stuck on this excersise
In seperate CSS file:
.selector {
font-size: 20px;
}
Inline CSS:
<p style="font-size: 20px;">Hello world</p>
courses/web-beginner-en-y2Yjd/1/2?curriculum_id=50579fb998b470000202dc8b
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>
</body>
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!!