+ 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 odpowiedzi
+ 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
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