0

How to use var in html

21st Jul 2018, 1:45 PM
Anh Nguyen
Anh Nguyen - avatar
2 Answers
+ 2
As Paul Grasser says, HTML doesn't have variables, I recommend you to do JavaScript course as it teaches you how to use html elements as variables to change their properties or make some actions Hope it helps you
21st Jul 2018, 2:50 PM
Guillem Padilla
Guillem Padilla - avatar
+ 1
HTML doesn't have variables. var in Web Dev is used in JS.
21st Jul 2018, 1:48 PM
Paul Grasser
Paul Grasser - avatar