Hey, friends is there any way to format the text written inside JS like bold ,italic , underline etc. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 13

Hey, friends is there any way to format the text written inside JS like bold ,italic , underline etc.

20th Oct 2018, 12:16 PM
Janhvi
Janhvi - avatar
27 Respostas
+ 12
AL Araf can you please explain in detail
20th Oct 2018, 12:44 PM
Janhvi
Janhvi - avatar
+ 9
AL Araf oh,so sorry, I didn't noticed it šŸ˜‹ and also thank you for your help šŸ˜ŠšŸ˜ŠšŸ˜Š
20th Oct 2018, 1:07 PM
Janhvi
Janhvi - avatar
+ 8
AL Araf what if you want the bold ,italic or underlined effect
20th Oct 2018, 12:59 PM
Janhvi
Janhvi - avatar
20th Oct 2018, 1:08 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 8
Muhd Khairul Amirin Bin Yaacob thank you so much ,sir .It will help a lot šŸ˜ŠšŸ˜ŠšŸ™šŸ™šŸ™šŸ™
20th Oct 2018, 1:12 PM
Janhvi
Janhvi - avatar
+ 8
Muhd Khairul Amirin Bin Yaacob thank you so much for your kind words šŸ˜ŠšŸ˜ŠšŸŒ·šŸŒ· šŸŒ·
20th Oct 2018, 1:18 PM
Janhvi
Janhvi - avatar
+ 8
Muhd Khairul Amirin Bin Yaacob šŸ˜ŠšŸ˜ŠšŸ˜ŠšŸ˜ŠšŸ˜ŠšŸ‘
20th Oct 2018, 1:28 PM
Janhvi
Janhvi - avatar
+ 7
AL Araf šŸ˜ŠšŸ˜ŠšŸ‘šŸ‘
20th Oct 2018, 1:13 PM
Janhvi
Janhvi - avatar
+ 7
H4CK3RšŸ˜ŗšŸ˜ŗC4tšŸ˜ŗšŸ˜ŗ thanks a lot for your help šŸ˜ŠšŸ˜ŠšŸ’•
21st Oct 2018, 8:08 AM
Janhvi
Janhvi - avatar
+ 7
H4CK3RšŸ˜ŗšŸ˜ŗC4tšŸ˜ŗšŸ˜ŗ šŸ˜ŠšŸ˜ŠšŸ˜ŠšŸ‘
22nd Oct 2018, 3:03 AM
Janhvi
Janhvi - avatar
+ 6
ā­Janhviā­ You are welcomešŸ˜Š
20th Oct 2018, 1:19 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 6
You can use JQuery or in the Regular JS example ā€œ document.getElementById(ā€˜Demoā€™).style.color = ā€œA colorā€ā€ for color and use ā€œ document.getElementById(ā€˜Demoā€™).style.backgroundColor = ā€œA colorā€ā€ in the A color put a color in there like a RGBA, RGB, HEX, etc. Hopes this helps!šŸ˜˜ā˜ŗļøāœŒļø
21st Oct 2018, 3:07 AM
Potato Hacker
Potato Hacker - avatar
+ 5
You can decorate your JavaScript text by CSS!!! Write a text in JS part and decorate that on CSS part!(according to SoloLearn's Code Playground)!
20th Oct 2018, 12:33 PM
AL Araf
AL Araf - avatar
20th Oct 2018, 12:52 PM
AL Araf
AL Araf - avatar
+ 5
This is mainly a JavaScript code(string)! I have decorated that by CSS!
20th Oct 2018, 12:54 PM
AL Araf
AL Araf - avatar
+ 5
You have to use CSS property!! You can see my code!šŸ˜Š
20th Oct 2018, 1:03 PM
AL Araf
AL Araf - avatar
+ 5
ā­Janhviā­ Glad to help you. Good luck in codingšŸ‘
20th Oct 2018, 1:13 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
ā­Janhviā­ No Problem!
22nd Oct 2018, 1:11 AM
Potato Hacker
Potato Hacker - avatar
+ 4
By the way,if you don't understand, I will suggest and request you to complete CSS and JavaScript course fully at first then you can understand that easily!!šŸ˜‡šŸ˜‡
20th Oct 2018, 1:05 PM
AL Araf
AL Araf - avatar
+ 4
ā­Janhviā­ You are welcome!!šŸ˜ƒšŸ˜ƒ
20th Oct 2018, 1:09 PM
AL Araf
AL Araf - avatar