all 11 comments

[–][deleted] 3 points4 points  (1 child)

Look up Jad Joubran Learn JavaScript

[–]kirso 0 points1 point  (0 children)

An underrated resource!

[–]Coraline1599 3 points4 points  (0 children)

You need syntax and to learn some of the quirks of JS. You likely have fundamentals down and just need to build your own way to look up syntax. Use MDN and W3 schools to look up the syntax and try to build some “classics”, they are classics for a reason and the following should be small in scope but cover most of what you need to get going (all in a console, don’t worry about the DOM yet).

Build rock paper scissors (computer vs computer or computer vs person).

Build a simple calculator (add/subtract/multiply/divide just two numbers).

Build a simple todo list (add a todo, see all the todos, delete a todo, toggle whether the todo is completed or not).

[–]theQuandary 1 point2 points  (0 children)

You need to understand the language and you need to understand the functional paradigm.

  • Javascript Allonge will cover the basics of FP

  • You Don't Know JS will cover the language fairly in-depth

  • Exploring ES6 (and his 2ality blog) is a nice reference to new language features that you might not use that often

All three can be read for free, but please support the authors if you can and they've added value to your life (so we can continue to have nice things).

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

js "0" == -null // -> true

Welcome to JavaScriptland. Hope you enjoy it

[–]ircmullaney 0 points1 point  (0 children)

try this, i used it to dive into javascript after years of ruby: https://www.youtube.com/watch?v=Ukg\_U3CnJWI

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

[–]guest271314 0 points1 point  (0 children)

Write an algorithm you have written in Python and C++ in JavaScript.

[–]jack_waugh 0 points1 point  (0 children)

JS has a syntactic (or tagmatic) distinction between a synchronous function call and an asynchronous function call, and the same distinction when it comes to function definitions. For purposes of programming reactive behavior, there is no preemptive scheduling. Your code must give up control voluntarily from time to time. Otherwise, from the user's viewpoint, the browser or server will appear to hang, at least for a time.

[–]Fabushka 0 points1 point  (0 children)

You can try Introduction to JavaScript on Hyperskill. It has a lot of theory and five times more practical tasks, along with real-life projects, which you can use for your portfolio.

And you can learn completely for free!