What comes first ..? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What comes first ..?

Is it necessary to learn html coding before javascript ? Or can I learn it on its own completely ??

26th Oct 2018, 11:36 AM
Suhena Sujay
2 Réponses
+ 1
Many things in Javascript (JS) can be learnt without knowing pretty much anything about HTML. Basic programming stuff like loops, conditions, functions, etc don't require a background knowledge of HTML. Question is, why do you want to learn JS? Most people learn it because they want to add interactivity/programming elements on their webpage. And for that, eventually some knowledge of HTML would be necessary. So you can start with JS, and when the time comes, start on HTML too. And if you just want to learn how to write programs, with no connection to www, you might want to consider a different language.
26th Oct 2018, 12:48 PM
Kishalaya Saha
Kishalaya Saha - avatar
0
you can use console.log(_variable_) or document.write(_variable_) to print the result of your functions
26th Oct 2018, 12:59 PM
Gordon
Gordon - avatar