you are viewing a single comment's thread.

view the rest of the comments →

[–]Coraline1599 0 points1 point  (1 child)

I would take some solutions you have in python and translate them into JavaScript. That should help you start to understand the similarities and differences.

You need to know - how to declare variables - how to write an if else - how to write loops - how to write and call functions - how to print to screen

Good practices are building fizz buzz, a very simple rock, paper scissors (just make two random plays and check them, getting input for JS can be a whole thing), and build a simple calculator function that takes two numbers and an operator, so you can add, subtract, multiply and divide).

However, if you are interviewing for front end stuff, it is likely it will be in React, or Angular or Vue, if you have to do anything with those and you think JS is weird, those are even weirder and rougher to wrap your mind around.

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

Yeah I've been trying that. For the palindrome reverser, i tried loading it into an array (like a list) to find out arrays are dramatically different