JavaScript Basics

JavaScript Basics

University

20 Qs

quiz-placeholder

Similar activities

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

JavaScript

JavaScript

University

19 Qs

Web JavaScript

Web JavaScript

10th Grade - University

15 Qs

Review JavaScript

Review JavaScript

11th Grade - University

20 Qs

Recap on HTML and CSS

Recap on HTML and CSS

University

16 Qs

CYBER 2

CYBER 2

University

15 Qs

Refresh your JavaScript Skills!

Refresh your JavaScript Skills!

University

16 Qs

Preguntas sobre JavaScript

Preguntas sobre JavaScript

9th Grade - University

20 Qs

JavaScript Basics

JavaScript Basics

Assessment

Quiz

Computers

University

Medium

Created by

Long Nguyen

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JavaScript's official name?

JavaScript

TypeScript

ECMAScript

ScriptJS

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who invented JavaScript?

Bill Gates

Brendan Eich

Tim Berners-Lee

Steve Jobs

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of JavaScript in web development?

To create web servers

To add interactivity to HTML pages

To handle database connections

To create operating systems

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Which HTML tag is used to include JavaScript in a webpage?

Evaluate responses using AI:

OFF

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does `console.log()` do in JavaScript?

Prints content to the web page

Displays content in the browser’s console

Creates a new HTML element

Stops the script execution

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method is used to access an HTML element by its ID in JavaScript?

document.getElementByClassName()

document.getById()

document.querySelector()

document.getElementById()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is `innerHTML` used for in JavaScript?

To define a JavaScript function

To insert JavaScript into an HTML file

To change the content of an HTML element

To call a JavaScript file

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?