A | B |
Javascript | A programming language that can run on web pages. |
<button> | An HTML element that shows a button on the screen that can be clicked with a mouse. |
onclick | Attribute of the button tells the computer to run some Javascript code when the button gets clicked. |
<script> | The part of the HTML page where Javascript code should be placed. |
Comment | A part of the code that the computer ignores, but which can be useful for programmers reading the code. |
single-line comments | start with // |
multi-line comments | start with /* and end with */ |
Variable | Like a storage bin in the computer that can hold some data, has a name and a value. |
Type | Number, String, Boolean, the special value undefined, and references to functions and HTML elements |
Keyword | A word that has special meaning in a computer language. |