Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 73 - 2612_Digimind
P. 73

    </BODY>

                     </HTML>

                            Hashtag

                          #Variable: A name of the storage location to store a value that can be modified later.

                          #Statement: Commands and instructions given to the JavaScript interpreter to take some action.

                          REVISIT

                       ▶   JavaScript is a client-side scripting language used for enhancing users’ interaction with the web page by
                         making web pages dynamic.
                       ▶   JavaScript cannot run on its own because it is a scripting language, hence needs to be embedded within an
                         HTML code.
                       ▶   Commands and instructions given to the JavaScript interpreter to take some actions are called statements
                         and a collection of statements is called a script or a program.

                     1.  Tick ( ) the correct option.

                        a.  Neha uses let, const, if, for and return in a JavaScript program. What are these words called?

                             (i)   Identifiers                                (ii)  Keywords
                            (iii)   Literals                                 (iv)  Expressions

                                                                                          Dynamic Web Pages in HTML5  71

| 68 69 70 71 72 73 74 75 76 77 78 |