Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript style fontsize

let selected = document.GetElementById('selected');
selected.setAttribute(
          "style",
          `font-weight:bold; font-size: 20px; color: ${newColor};  background-color: lightgray;`
        );
 
PREVIOUS NEXT
Tagged: #javascript #style #fontsize
ADD COMMENT
Topic
Name
5+3 =