PREMIUM
Join our WhatsApp Channel
Daily MCQs, Past Papers & Jobs for PPSC, FPSC, CSS
Daily MCQs • Past Papers • Jobs for PPSC, FPSC, CSS
Join Channel

Which programming language is used for client-side interactivity in web browsers, along with HTML?

A. Python
B. JavaScript
C. C++
D. SQL
Correct Answer: B. JavaScript

Correct answer: JavaScript.

Background: JavaScript is the scripting language used with HTML (and CSS) to add client-side interactivity to web pages in the browser, such as buttons, forms and animations.

  • Python: is used in web development, but on the server side, not for client-side interactivity inside web browsers.
  • C++: It is a compiled systems language, not a web-page scripting language.
  • SQL: It is a language for querying databases, not for building web pages.

Did you know? JavaScript was created in 1995 by Brendan Eich, and it now runs in every modern web browser.

Memory trick: HTML builds the page, JavaScript makes it move.

0 comments

Leave a Reply

Join Our WhatsApp Channel ×