+ 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