Fun Text | Sololearn: Learn to code for FREE!

0

Fun Text

why is my textarea when i click the bold or subscript button not working? https://code.sololearn.com/WK5mj4SpJX4M/?ref=app

5/24/2022 1:32:30 AM

Your Mom

1 Answer

New Answer

+2

// Hope this code helps you let t = document.getElementById("text"); function bold() { t.style.fontWeight = "bold"; t.textContent= "Welcome"; } function FontSize() { t.style.fontSize = "30px"; }