I am trying to change the styling for my HTML elements without touching the HTML and CSS file.
resultFirstName.style.fontWeight = "bold";
resultFirstName.style.fontStyle = "uppercase";
resultFirstName.style.fontStyle = "italic";
resultFirstName.style.fontSize = "1.5em";
resultLastName.style.fontWeight = "bold";
resultLastName.style.fontStyle = "uppercase";
resultLastName.style.fontStyle = "italic";
resultLastName.style.fontSize = "1.5em";
I am trying to put these two variables together into something like this below. But I am not sure how to do it.
resultFirstName + resultLastName.style.fontWeight