JavaScript Basics Quiz

JavaScript Basics Quiz

University

30 Qs

quiz-placeholder

Similar activities

Application Software

Application Software

University

29 Qs

Khám Phá Công Cụ Tìm Kiếm

Khám Phá Công Cụ Tìm Kiếm

8th Grade - University

25 Qs

HTML and CSS cơ bảng

HTML and CSS cơ bảng

University

25 Qs

Searching and Sorting

Searching and Sorting

10th Grade - University

25 Qs

R E V I E W E R

R E V I E W E R

University

25 Qs

Angular 4

Angular 4

University

25 Qs

Basics of Web Technology

Basics of Web Technology

University

25 Qs

ITElec1_Recitation_1

ITElec1_Recitation_1

University

25 Qs

JavaScript Basics Quiz

JavaScript Basics Quiz

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Art Magpantay

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JavaScript primarily used for in web development?

Creating databases

Programming the behavior of web pages

Designing page layout

Managing server-side code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a core web development language?

HTML

CSS

PHP

JavaScript

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to change the content of an HTML element?

document.innerText()

changeContent()

document.getElementById().innerHTML

element.textContent

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JavaScript statements can end with which symbol?

, (comma)

: (colon)

; (semicolon)

# (hash)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To change an image source using JavaScript, which attribute is updated?

href

src

alt

link

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to hide an HTML element using JavaScript?

element.visibility = "hidden";

element.remove();

element.style.display = "none";

element.style.hide();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript method is used to change the font size of an element?

changeFontSize()

style.setFontSize()

element.style.fontSize

updateFont()

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers