Tip 1: Use meaningful variable names, or else you'll be lost in a sea of 'x' and 'y'

Don't be that guy who declares 100 variables named 'x'. Give your variables some personality, some flair! Like this: let userPreferredColor = '#ff0000';

Learn from our expert variable naming team!

Tip 2: Comment your code, lest you forget why you wrote it last night

Remember that 3 a.m. coffee-fueled session where you wrote 500 lines of code? Good luck explaining what that mess means 6 months from now. // This is where I added the magic

Read our guide on commenting your code like a pro!

Tip 3: Use the right data types, or the world will burn

Don't be that guy who thinks a string can hold 10 billion integers. Use the right data type, or the world as we know it will come crashing down. let userAge = 30; // int

Learn the dangers of type coercion!
More Tips and Tricks for Variable Declaration Wizards