Vidyalelo
JavaScript · Q31

Server

Programming · JavaScript · question 31

Q31

The main purpose of JavaScript in web browser is to

A.
Creating animations and other visual effects
Answer
B.
User Interface
C.
Visual effects
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
JavaScript can help to facilitate that experience, for example by:
1. Creating animations and other visual effects to subtly guide a user and help with page navigation
2. Sorting the columns of a table to make it easier for a user to find what she needs
3. Hiding certain content and revealing details progressively as the user “drills down” into that content