Answers for "how to use variable in javascript in html"

-2

js variable html

<div onload="document.innerHTML(name + ' is ' + age)">
Posted by: Guest on April-14-2020
0

how to create a variable in javascript

// you an pass in strings or a number 

var exampleVariable = 'Example string' // this is a normal string 
var anotherExample = 839;
Posted by: Guest on June-25-2021

Code answers related to "how to use variable in javascript in html"

Browse Popular Code Answers by Language