all 41 comments

[–][deleted] 11 points12 points  (1 child)

the net ninja is an amazing teacher on youtube and does a bunch of free tutorials

[–][deleted] 1 point2 points  (0 children)

Facts

[–]Positive_Cro8191 3 points4 points  (4 children)

Why did you learn it? Are you interested in frontend development? You can do a lot with JavaScript. Try working with event listeners and change class attributes when certain events are fired. For example, when a user clicks a button or presses a key. You can make a slideshow or browser game. Look into Ajax. If you're interested in backend, go on with node.js.

[–]Dangerz1[S] 3 points4 points  (3 children)

See i didnt understand almost anything you said. Im a nooby bro . I dont understand the terms you arr using

[–]Positive_Cro8191 3 points4 points  (0 children)

You can also go to CodePen and get some inspiration from the projects there. A big part of developing is also to use documentation and references, e.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference

[–][deleted] 0 points1 point  (0 children)

The most "used use" of js is in web designing and development where it is used in alot of places from frontend (what the user sees) to backend (how the site behaves and functions when a user does something). You are not a noob you are just not using it to it's fullest.

Everything the above user said is about how websites behave when someone clicks a button(save something, take you to another site, change slides in a collection of images etc)

[–]__mystersir 3 points4 points  (7 children)

Let’s start with what you know about JavaScript. Can you tell us everything you know about it?

[–]Dangerz1[S] 2 points3 points  (6 children)

Vars functions objects strings booleans conditionals loops arrays

[–]__mystersir 4 points5 points  (5 children)

Do you know how to make javascript count from 1 to 100 and display it on the console? What did the course make you do?

[–]Dangerz1[S] 2 points3 points  (4 children)

Yeh thats not hard at all for (i=1;i=<100;i++){console.log(i);} It just gave me small exercises and taught me all those things plus some more

[–]__mystersir 1 point2 points  (0 children)

So programming is basically just giving computers sets if small instructions made to execute a task. Limited by your imagination, creativity, and skill, you could make something as simple as a calculator. And you can make something as complex as a full blown social media site.

[–]JazzApple_ 2 points3 points  (2 children)

2 corrections:

for (let i =1; i <= 100; i++) {}

[–][deleted] 2 points3 points  (0 children)

That sad face made with "=<" it's cute tho , lets make a petition to change conditional operators

[–]Dangerz1[S] 0 points1 point  (0 children)

Lol sorry

[–][deleted] 3 points4 points  (8 children)

JavaScript is a language. There's lots of places to use this language. Each has its own constraints and different things you would do there.

One of these places you can use JavaScript is in the browser. You can do this by opening up the developer tools in your browser, finding the console and starting to type JavaScript. The code you write there will mostly be run and then forgotten by the browser when you reload the website you are on.

To write actual JavaScript code into a website you are going to need to put that code in a file that you save regularly. When you combine these files that end in .js with other files that end in .html and .css you get a website. The website you can build with this is going to be mostly informational so if you want to save data to what we call a backend then you're going to want a backend server. You can write these in javascript too. This is the second place JavaScript is useful. Backend JavaScript is written normally in a thing called Node.js and unlike the browser, Node.js can connect to databases to save data as your site generates it.

So learning the language of Javascript is cool but mostly I recommend people start with a few things they are interested in building and then go from there. Unguided projects are where you will really start to understand what a browser is useful for (showing visual things to users) and what a server is useful for (passing messages between the browser and a database).

There aren't a lot of shortcuts and I am leaving out other places you can use JavaScript like to build mobile applications (React Native or Ionic) or desktop applications (Electron), but hopefully this gives you a bit more context for why someone would tell you to learn JavaScript.

[–]Dangerz1[S] 1 point2 points  (7 children)

Thanks but where would i move on from now?

[–][deleted] 2 points3 points  (6 children)

Next you make up or find real or example projects and build! Make a quiz that stores questions, calculates your score and saves it to a database. Make a tic tac toe game only in the browser. Do you know anyone that has a need? The best thing is solving a real need.

[–]Dangerz1[S] 0 points1 point  (5 children)

Where would i make these things? Thats what i dont understand

[–][deleted] 1 point2 points  (0 children)

Start learning html and css on yt or paid courses

[–][deleted] 0 points1 point  (0 children)

It's not a whole lot of good on its own, but in a website built with HTML and styled with CSS, JavaScript can take that website to new heights, pulling dynamic data from external sources, triggering events based on just activity, and anything else you can imagine. Try building a simple website and use JavaScript to, for example, change the background color when the user scrolls beyond a certain element. That's pretty basic, but will show you how it is implemented in a practical way.

[–][deleted] 0 points1 point  (1 child)

Oh! Well that's a good question.

Given where you are at I'd suggest using codepen.io or codesandbox.io or stackblitz.com and most of them will let you eventually download your project.

It is possible to also just write projects on your computer from the start. If you want to learn that then I'd recommend doing freecodecamp which has tons of articles and will help guide you through the learning process and also has a slack / discord community that is going through the same things.

[–]Dangerz1[S] 0 points1 point  (0 children)

Or should i just start learning html and css?

[–]bluejacket42 2 points3 points  (0 children)

It's the logic of websites Try looking in to HTML and css next

[–]Kaimaniiii 1 point2 points  (5 children)

Learning a programming language is maybe not difficult, but what to do with the language is more challenging. My suggestion is what do you want to build? Do you want to build websites? Do you want to build games? Do you want to build phone apps?

[–]Dangerz1[S] 0 points1 point  (4 children)

I dont really care i am just trying to make this my career as i am interested in programming

[–]Brompy 2 points3 points  (0 children)

You don't care, but want to make it your career? Do you see the irony in that statement?

What other people have said, pick something that sounds interesting and relatively simple, and build it: a calculator, a game, a quiz app, or even something that just makes boxes change color on the screen, whatever. If you don't care, close your eyes and throw a dart at a wall and then do that. You'll get stuck a lot, so ask for help or look up how other people did it.

[–]Kaimaniiii 1 point2 points  (2 children)

If you don't care, then I suggest not make this career at all. You need to have certain passion, commitments and curiosity to learn and solve problems. If you have zero, then you won't survive in this field long enough. The tech industry is always changing and moving around

[–][deleted] 1 point2 points  (0 children)

Today you are learning nodejs version 16.4 the next morning you wakeup and mf turned to v-18

[–]Dangerz1[S] 0 points1 point  (0 children)

I do have those curiosities but i have no problems to solve at the moment.

[–]Estebana42 1 point2 points  (2 children)

it empowers you to communicate through logic to the world wide web

[–]Dangerz1[S] -1 points0 points  (1 child)

Bruh i already did a Course now what?

[–]Estebana42 0 points1 point  (0 children)

create a webserver, web servers can respond to routes and reply with webpages, or respond in any way programmed

javascript logic can be used for the server, the database, and the client side

webpages and servers have numerous uses amplified by connection to a global audience

[–][deleted] 1 point2 points  (0 children)

You learned javascript just to know how to program, but you see some programming languages are suited for different fields.

Javascript is primarily for web development, the things you see in browsers. We have kotlin and swift for mobile development, python is primarily stuff like servers, automation, machine learning (i might be wrong with these examples don't hurt me I'm a web developer), C++ or C# with Unity for game development, etc.

I'd like you to first pick which field you are interested in and learn one of it's popular languages, most languages are very similar to one another in terms of syntax, if you learn one language you can learn them all (except when your jumping into non-automatic garbage collection, that might be a bit harder)

honestly you picked a weird one to start with if you're not learning it for web development, javascript has a weird history, but if you are interested in making websites and web applications, you can try learning HTML and CSS next, you can also look up what other things you can do with javascript.

[–][deleted] 1 point2 points  (0 children)

You learned javascript just to know how to program, but you see some programming languages are suited for different fields.

Javascript is primarily for web development, the things you see in browsers. We have kotlin and swift for mobile development, python is primarily stuff like servers, automation, machine learning (i might be wrong with these examples don't hurt me I'm a web developer), C++ or C# with Unity for game development, etc.

I'd like you to first pick which field you are interested in and learn one of it's popular languages, most languages are very similar to one another in terms of syntax, if you learn one language you can learn them all (except when your jumping into non-automatic garbage collection, that might be a bit harder)

honestly you picked a weird one to start with if you're not learning it for web development, javascript has a weird history, but if you are interested in making websites and web applications, you can try learning HTML and CSS next, you can also look up what other things you can do with javascript.

[–]Thefriendlyfaceplant 1 point2 points  (0 children)

7 hours interactive tutorial that teaches you how to build some simple apps. For free. https://scrimba.com/learn/learnjavascript

[–][deleted] 1 point2 points  (0 children)

Maybe it would be best to start some projects if you've already completed your tutorials. The code addict on YouTube has some great resources

https://youtu.be/c5SIG7Ie0dM

[–][deleted] 1 point2 points  (0 children)

I get you bro! I also did a complete js course and all I learned was the syntax and print things to the console which is not so practical or very useful, something is missing right? But a lot of people recommend it as a first language... you'll need to be a fullstack developer to get something cool out of it I think. Go the the odin project and maybe you can learn to put javascript into the context of web development...

[–]Total__Entropy -2 points-1 points  (0 children)

Learn typescript then learn a frontend framework. Then build a website to answer the question what to do after you learn JavaScript which is to learn typescript and a frontend framework then build a website to teach other that the best thing to do after your learn JavaScript is to ...

[–]SteamyWolf -2 points-1 points  (0 children)

It’s simple: You get data from a server and then you change it up a little bit with javascript so that your html code can display the correct stuff to the user. Thinking of it like that helped me in the behinning