Which should i learn next? Java or javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Which should i learn next? Java or javascript?

I am trying to make my first webpage. I have done the html and css and started on javascript but i am confused on the difference between the two. Although im sure i will get it by the time i am complete, javascript does seem a little confusing to me right now. Now i wonder if i should be doing just java first.

7th Jul 2018, 5:14 PM
Dawn Marie Harrell
Dawn Marie Harrell - avatar
11 Answers
+ 3
Uh oh, the shortcut is for those who already know how the things in a module works so they can already skip to the next one through a short quiz.
7th Jul 2018, 5:53 PM
Harsh
Harsh - avatar
+ 6
Hello, Dawn Marie Harrell ! Javascript is a scripting language based on prototypes with weak and dynamic typing, which is usually placed in the browser. Java is an object-oriented programming language with strong and static typing, which runs on the Java virtual machine. Between the two, getting started can be a little easier with Javascript than Java, since it's more forgiving in terms of things that can be accomplished. However, this can also mean that this can serve as a way to select some bad habits, such as ignoring the concept of data types. In the end, this will reduce to what needs to be done first. Either do tasks in the browser to manipulate web pages (Javascript), or write programs that will run as applications on clients and servers(Java). Conclusions you can do yourself. by the way see the lessons from SoloLearn https://www.sololearn.com/Course/JavaScript/?ref=app https://www.sololearn.com/Course/Java/?ref=app
7th Jul 2018, 5:19 PM
Alexander Sokolov
Alexander Sokolov - avatar
+ 5
MDN means Mozilla Developer Network. It is a site with very useful documentation about various languages, focusing on HTML, CSS and Javascript.
7th Jul 2018, 5:54 PM
giannismach
giannismach - avatar
+ 4
Since you are trying to make a website, the best option would be JavaScript. You can look things on MDN if you're stuck, and ask about them in the Q/A section here. Have a nice day!
7th Jul 2018, 5:21 PM
Harsh
Harsh - avatar
+ 3
Thank you for explaining that. I was not sure if I was on the right path. I am halfway through the javascript course now. Will there be more real life examples within the course?
7th Jul 2018, 5:22 PM
Dawn Marie Harrell
Dawn Marie Harrell - avatar
+ 3
Dawn Marie Harrell I'm not sure if there are more real life examples (since I took the shortcut 😅) MDN is Mozilla Developers Network. Here's the link: • https://developer.mozilla.org/bm/docs/Web/JavaScript
7th Jul 2018, 5:37 PM
Harsh
Harsh - avatar
+ 2
Im sorry, what is MDN? Thank you for your help also.
7th Jul 2018, 5:23 PM
Dawn Marie Harrell
Dawn Marie Harrell - avatar
+ 2
Gotcha 😀
7th Jul 2018, 5:55 PM
Dawn Marie Harrell
Dawn Marie Harrell - avatar
+ 2
I think it is better to learn javascript first, for the understanding of it will help in mastering Java better. Java is OOP and javascript is a scripting language. go for javacript Java is nice and is platform independent and havascript will have stretch and enlarge your brain the assimilate Java
13th Jul 2018, 6:35 PM
OLANIYI Babarinde Isola
OLANIYI Babarinde Isola - avatar
+ 1
Lol I like shortcuts. How do I get one of those?
7th Jul 2018, 5:39 PM
Dawn Marie Harrell
Dawn Marie Harrell - avatar
+ 1
You can go for java. As java is best language to learn and you can find many benefits from it. I was in confusion though but i preferred java over javascript. You can see here benefits of learning java:- http://crbtech.in/Java-Training/benefits-learning-java/
13th Jul 2018, 5:25 AM
pranit patil
pranit patil - avatar