I have an iphone 5s and when I test the code, I see no difference from thick and 700. I also wrote: CSS: .p thickest { Font-size: 900; } Html: <p .thickest>This should be "BOLDEST" </p> And the last 3 were the same size. Could it be the phone or is the code wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have an iphone 5s and when I test the code, I see no difference from thick and 700. I also wrote: CSS: .p thickest { Font-size: 900; } Html: <p .thickest>This should be "BOLDEST" </p> And the last 3 were the same size. Could it be the phone or is the code wrong?

900 should be thicker than 700 right?! Or is my code wrong?

10th Oct 2016, 12:22 AM
Josh Johnson
Josh Johnson - avatar
5 Answers
+ 3
to make bold your text, use font-weight, not font-size...keep learning :-)
10th Oct 2016, 7:37 PM
Li Kyüi Ng'bawi Awm
Li Kyüi Ng'bawi Awm - avatar
+ 1
dude your html code is too bad ! thicktest must be in class tag. so like this. <p class="thicktes"> Text</p> and in CSS, class must be dot ledt side. so like this. p .thicktest { font-size: 900 or bolder ; }
10th Oct 2016, 10:21 AM
HawkEye
HawkEye - avatar
+ 1
And now you see why im here. Lol. Practice makes perfect. Thanks for answering my question.
10th Oct 2016, 10:57 AM
Josh Johnson
Josh Johnson - avatar
0
700 could be proportional to 900 but 900 is thicker
11th Oct 2016, 8:39 PM
Maxwell Festus
Maxwell Festus - avatar
0
I dont understand why u use size. Its weight isnt it?
12th Oct 2016, 7:00 PM
Nil Onely
Nil Onely - avatar