+ 2

Do java script works like html

I want to design an app will I use both java script and html or only java script

31st Aug 2019, 1:58 AM
Abilo
9 Respuestas
+ 6
HTML is a markup language that provides declarative instructions to the browser on how to load the DOM (or Document Object Model) into memory. CSS is a stylesheet language that provides declarative instructions to the browser for setting style properties to be applied to DOM nodes once loaded into memory. Javascript is a general purpose language that provides imperative statements to further mutate the DOM according to various event triggers. Many people find learning declarative languages like HTML and CSS to be comparatively easier than learning imperative languages like Javascript. These are completely different paradigms involving completely different ways of thinking programmatically. To learn more, check out my responses on this thread: (be sure to sort by date) https://www.sololearn.com/Discuss/1944147/ And this post: (See Lord Krishna Thread) https://www.sololearn.com/post/141278/ Understanding how these paradigms differ may help you adjust your expectations and approach in learning.
31st Aug 2019, 5:34 AM
David Carroll
David Carroll - avatar
+ 5
They are both parsed/interpreted by the web browser.
31st Aug 2019, 3:45 AM
Sonic
Sonic - avatar
+ 5
31st Aug 2019, 5:59 AM
Danijel Ivanović
Danijel Ivanović - avatar
31st Aug 2019, 2:45 AM
Minerals2016
Minerals2016 - avatar
+ 3
JS can do everything. But its ok too if you use both
31st Aug 2019, 2:09 PM
I Love You (Challenge Me In C++)
I Love You (Challenge Me In C++) - avatar
+ 2
U have to use both, is depends on dom which is part of html so please do both. Unless it's a 1d game u can ofc use only js, but not recommended
31st Aug 2019, 2:22 AM
Minerals2016
Minerals2016 - avatar