Page 51 - Trackpad_V2.1_class8
P. 51
b. What are statements in JavaScript?
____________________________________________________________________________
c. What do you mean by a client-side scripting language?
____________________________________________________________________________
d. Write any two features of JavaScript.
____________________________________________________________________________
____________________________________________________________________________
e. Define operators with examples.
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
f. Write the syntax for using the External JavaScript code.
____________________________________________________________________________
____________________________________________________________________________
5. Differentiate between the following:
prompt( ) method document.write( ) method
________________________________ ________________________________
________________________________ ________________________________
21 st #Critical Thinking
6. Application-based questions. Century #Technology Literacy
Skills
a. Chirag created a website using HTML5 and formatted it using CSS. He wants to incorporate
interactive elements into the website to benefit site visitors. How can he achieve this?
b. Shweta is creating a website in HTML. She wants to add functionality to accept the roll number of a
student online. To achieve this, which JavaScript method can she use?
c. Devansh is a student of class 8. He wants to create a web page to perform different
mathematical operations by taking values from the user. But he does not know which
method of JavaScript is used to convert the input value into an integer. Suggest him the
suitable method.
21 st
GROUP DISCUSSION Century #Communication
Skills
Divide the students in two groups and organise a group discussion on internal JavaScript and
external JavaScript.
Dynamic Web Pages in HTML5 49

