0

Fun Text

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

24th May 2022, 1:32 AM
Junior
Junior - avatar
1 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"; }
24th May 2022, 1:42 AM
SoloProg
SoloProg - avatar