JavaScript Basics

JavaScript Basics

University

20 Qs

quiz-placeholder

Similar activities

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

E-Commerce

E-Commerce

University - Professional Development

16 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

Basic Excel

Basic Excel

University

15 Qs

YAY! Fridate with ComSSA (Network 101)

YAY! Fridate with ComSSA (Network 101)

University

20 Qs

Pengantar Teknologi Informasi 8

Pengantar Teknologi Informasi 8

University

17 Qs

Bridge course with C

Bridge course with C

University

20 Qs

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

JavaScript Basics

JavaScript Basics

Assessment

Quiz

Computers

University

Medium

Created by

Long Nguyen

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?