Javascript inneHTML method

Javascript can display output in four different ways Using innerHTML()Using consol.log()Using document.write()Using window.alert() To access users element we use innerHTML() .The id and class attributes define the HTML elements. document.getElementById(“numberMult”).innerHTML this line will do multiplication & send output <p id=”numberMult”></p> So output will be 129 Now lets see another example of innerHTML You can concatenate … Continue reading Javascript inneHTML method