0
Fun Text
why is my textarea when i click the bold or subscript button not working? https://code.sololearn.com/WK5mj4SpJX4M/?ref=app
1 Resposta
+ 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";
}