b. Any text editor can be used to create scripts. You can also use a word processor if you're careful to save the document as a text file with the .html or .htm extension.
a. Variables are used to store numbers, dates, or other values.
b. Your script should end with the </script> tag.