JavaScript is a case-sensitive language . This means that language keywords, variables, function names, and any other identifiers must always be typed with a consistent capitalization of letters. The while keyword, for example, must be typed “while”, not “While” or “WHILE”.
Read moreIs case sensitivity important in JavaScript?
In JavaScript, the while keyword, should be “while”, not “While” or “WHILE”. Case sensitivity is important since it is closely related to HTML , but some methods and events are mentioned differently. Some tags and attributes in HTML have the same name as JavaScript objects and properties.
Read more