before you start naming your own variables, you need to be aware of javascript's naming rules. the factors you need to consider when choosing names are case sensative, invalid character and the names that are reserved by javascript. additionally you should try to give your variables names that are both easy to remember and meaningful


Javascript is Case Sensative


when naming variables remember that javascript is case sensative these variables are all different:

One word variables
Hosting
HOSTING
hosting
HostinG

Two words variables
WebHosting
webhosting
web_hosting

you get the idea.

here are some tips when using variables

if you are using a variable name that consists of only one word, it is probably easiest to user lowercase for the entire name. it will be quicker to type and you will know when you us it later to type it all in lowercase

for a variable name with two words, you might decide to capitalize the first letter of each word. for exampe, you may name a rable MyCar or My_car