JavaScript Basics Quiz

JavaScript Basics Quiz

University

30 Qs

quiz-placeholder

Similar activities

ข้อสอบพื้นฐานการใช้การงานโปรแกรม Microsoft Exsel

ข้อสอบพื้นฐานการใช้การงานโปรแกรม Microsoft Exsel

University

30 Qs

UH-IX-1-Informatika-Bab 1

UH-IX-1-Informatika-Bab 1

12th Grade - University

25 Qs

Quiz Bootstrap (Fullstack Praktikum)

Quiz Bootstrap (Fullstack Praktikum)

University

25 Qs

Fundamentals of DIP

Fundamentals of DIP

University

25 Qs

Module 3 - Security Architecture

Module 3 - Security Architecture

University

25 Qs

Aptitude Competition(FY)

Aptitude Competition(FY)

University

25 Qs

QUIZ 4

QUIZ 4

University

25 Qs

Css-BoxModel

Css-BoxModel

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