How to make JS text bold? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make JS text bold?

so im going to polish a text game i wrote, but i want to switch over to JS for more style in text animations, however i cant figure out how to format words in bold or italic even when i'm using the correct code and browser, help please! https://code.sololearn.com/Wq002OkPh8kK/?ref=app

30th Jul 2018, 3:56 PM
Joey War
Joey War - avatar
3 Answers
30th Jul 2018, 4:33 PM
Meet Mehta
Meet Mehta - avatar
+ 1
I found a way to do it https://code.sololearn.com/Wihv08MJrH3e/?ref=app had to follow a couple links and read some things. Im not to understanding of JS but I decided Id try and have a look at it. Its probably not the cleanest work but I dont use JS.
9th Aug 2018, 12:23 PM
Ashadam
0
yes that is good! but i want to get bold only one word (unicorn) thank you so much!
30th Jul 2018, 5:08 PM
Joey War
Joey War - avatar