As the proper developer, you should separate each statement with a semicolon.
Statements should be placed in blocks for organization and clarity.
Remember that programming is not just about making things work, but allowing others to read and understand your code. This often means that you should find a good middle-ground between a code's efficiency and readability.
Comments are also helpful to prevent execution of part of a code when you're trying to debug. Simply comment out the part you don't want to run.
// Comments precede a double slash /* Or go between the slash asterick notation like so */
var greeting = "Hello"; var greeting="Hello" ;
It's better to opt for the former, which allows for better readability.
This foam seat cushion relieves lowerback pain, numbness and pressure sores by promoting healthy weight distribution, posture and spine alignment. Furthermore, it reduces pressure on the tailbone and hip bones while sitting. Perfect for sitting on the computer desk for long periods of time.$ Check price
Responsive web design helps your site maintain its design integrity on a variety of screen sizes, but how does it affect your typography? With this practical book, graphic designers, web designers, and front-end developers alike will learn the nuts and bolts of how to get the best appearance from type without sacrificing performance on any device.$ Check price