Prevent this blunders while creating code in any type of language though instances composed below remain in javascript and also css language yet this regulations can be used in any type of language,
- Syntax mistakes:
typos, inaccurate use quotes, braces, semi-colons, and so on
// missing out on semi-colon
var x = 10 console.log( x).
// inaccurate use quotes.
var name="John console.log( name).
- Off-by-one mistakes:
utilizing the incorrect selection index or loophole limitation.
// inaccurate selection index.
var arr = [1, 2, 3, 4, 5];.
for (var i = 0; i <