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.
27 Respostas
+ 12
AL Araf can you please explain in detail
+ 9
AL Araf oh,so sorry, I didn't noticed it š
and also thank you for your help ššš
+ 8
AL Araf what if you want the bold ,italic or underlined effect
+ 8
Muhd Khairul Amirin Bin Yaacob thank you so much ,sir .It will help a lot šššššš
+ 8
Muhd Khairul Amirin Bin Yaacob thank you so much for your kind words ššš·š· š·
+ 8
Muhd Khairul Amirin Bin Yaacob šššššš
+ 7
AL Araf šššš
+ 7
H4CK3RšŗšŗC4tšŗšŗ thanks a lot for your help ššš
+ 7
H4CK3RšŗšŗC4tšŗšŗ šššš
+ 6
āJanhviā You are welcomeš
+ 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!šāŗļøāļø
+ 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)!
+ 5
This is mainly a JavaScript code(string)! I have decorated that by CSS!
+ 5
You have to use CSS property!! You can see my code!š
+ 5
āJanhviā Glad to help you. Good luck in codingš
+ 5
āJanhviā No Problem!
+ 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!!šš
+ 4
āJanhviā You are welcome!!šš