+ 6
I already in middle of JavaScript but many says you have to learn html first, what can I do?
9 Answers
+ 9
keep learning javascript if u are comfortable with the course. come back to html/css courses after. you will probably know a little html by the end of javascript course anyway. if you wanted you could even just start the html course now. it is pretty easy and also short.
+ 7
great Mohsen , I heard of node.js but didn't have much info, can u please elaborate a bit more, that what it is mainly used for, and how to get started with it.
+ 6
you can continue learning javascript.....
but most probably you need the knowledge of HTML to complete the last lesson in javascript tutorial "dom and events"
+ 5
I would recommend pausing your JavaScript course and moving to html. after you've learned the basics of HTML, come back to JavaScript because JavaScript without HTML is meaningless.
+ 4
Definitely JavaScript is used to shape HTML, so learn html first ,if you are comfortable continue both courses. If you think you you will finish JavaScript first, then you already know some part of html.
Good Luck đ
+ 3
JavaScript isn't limited to be used with HTML, there is something called node.js.
This might be a good idea to learn HTML too but first, consider trying node.js
As a summary, it basically runs javascript codes, but outside browser and with much more abilities, it can do disk writes, make servers and websites, some crazy stuff(for example using npm libraries you can run visual basic, c# or c++ code inside nodejs app and communicate with them) and any other thing that other programming languages can do, it also has many libraries(in npm) that simplify your task, you can't find some of them as installable library in any other language.
Also there is something called electronjs that you can use node.js+js+css+html to make all kinds of app using these web technologies(visual studio code, discord and some other popular desktop apps are made using this).
so this might be a good option, you better check it out.
+ 2
the people said and even this app is saying that learn html before JS bcs JavaScript will be more easier to understand bcs it have
Some tags of Html and even it works for Html
such as you've created these;
GetElementById
GetElementbyClass,
now if you dont know about Id and class so then you need to learn html to get familiar with JS ..
+ 2
@vivek
Node.js apps run similar to python apps, you install nodejs binary using installer(nodejs.org) and app source code has a .js file(example command: node app.js).
It is currently used for parts of facebook servers backend.
It was first made for making web servers and websites but it is now used for many more cases and can do any thing other programming languages do.
It is cross-platform(windows, linux and macos).
It has a package manager named npm that you can install libraries using it(npmjs.org).
It has a feature called native addons that makes you able to write libraries for nodejs using c++ code and compiling it using node-gyp and this is what makes it able to do anything and do things with native code speed if needed.
The great thing about nodejs is npm, it libraries for doing has almost anything comes to mind.
Some of them that I find interesting:
https://www.npmjs.com/package/nightmare
Runs browser inside nodejs.
https://www.npmjs.com/package/edge
Runs C#, VB or Python code inside nodejs and use the functions inside them from nodejs(or reverse).
https://www.npmjs.com/package/express
Simplify making web servers using nodejs.
https://www.npmjs.com/package/request
Simplifies requesting(get, post) using nodejs
https://www.npmjs.com/package/canvas
Drawing stuff just like canvas used in browsers
Other useful programs like ffmpeg and web api's(like spotify web api, telegram bot api, search engines search api,...) and stuff you will need a library to work with them easier, have npm libraries to make things easier.
And Electronjs combines (js and node.js) and add them inside html and css to make you able to make almost any desktop app easily using one code, for all platforms(the only problem might be speed in heavy calculations that can be solved by using other faster languages inside nodejs if needed).
Also there is something like electron but for mobile devices called ionic and uses nodejs+html+... but I haven't tried it yet.
Good Luck
+ 1
well well no big deal, if u can get to the middle of javascript then html shouldn't be a problem for u to grasp.... won't take u a week to learn