Use Functions To Define Different Modules, Even If They Are Small.
Keep Cross Browser Compatibility In Mind.
Use Object-Oriented Approach.
Perform Testing To Have A Near Perfect Code.More items…•.
For just the absolute basics, if you’re already familiar with programming in general, 7 days seems possible. If you are unfamiliar with programming concepts in general like loops and events and variables then learning JS in 7 days seems unlikely.
Basically, yes, if you know JS and whatever framework the company you’re applying to uses, you can get a job, but if it’s your first job they might expect to give you a decent amount of hands-on training for the first 3-6 months or so.