Please can i use html to code any game? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please can i use html to code any game?

29th Dec 2018, 3:31 PM
Salman Quadri
Salman Quadri - avatar
4 Answers
+ 3
JavaScript uses Document Object Model to modify HTML, easiest way to make games in HTML is to learn JavaScript and DOM.
29th Dec 2018, 3:47 PM
Seb TheS
Seb TheS - avatar
+ 1
As others said, yes you can make games using HTML using JavaScript but you cannot just make any games with it because JavaScript is an interpreted language which is not a good choice for games. If you are really into learning how to make game then you should learn compiled languages like java, c# or c++ or any other compiled language which you think is good enough for you. But if your aim is browser games then go for JavaScript.
29th Dec 2018, 4:04 PM
Mayank Dhillon
Mayank Dhillon - avatar
0
With just a markup language you can't get much functionality. You'll need a scripting language, that can be used to modify HTML, JavaScript is the most common to modify HTML.
29th Dec 2018, 3:41 PM
Seb TheS
Seb TheS - avatar
0
How do i do it
29th Dec 2018, 3:44 PM
Salman Quadri
Salman Quadri - avatar