javascript

javascript

10th Grade

10 Qs

quiz-placeholder

Similar activities

Web программирование, повторение

Web программирование, повторение

10th Grade

10 Qs

Intro to JavaScript

Intro to JavaScript

6th - 12th Grade

10 Qs

10 -Quiz#3: JavaScript Introduction

10 -Quiz#3: JavaScript Introduction

10th Grade

14 Qs

10 Quiz#4: JavaScript Events

10 Quiz#4: JavaScript Events

10th Grade

12 Qs

Javascript

Javascript

KG - Professional Development

13 Qs

JavaScript Intro

JavaScript Intro

9th - 12th Grade

12 Qs

Codecademy Introduction to JavaScript

Codecademy Introduction to JavaScript

9th - 12th Grade

12 Qs

TLE Q3 QUIZ MODULES 1-5

TLE Q3 QUIZ MODULES 1-5

10th Grade

10 Qs

javascript

javascript

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Dania Bioncio

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Inside which HTML element do we put JavaScript?

<js>

<javascript>

<script>

<scripting>

script

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct JavaScript syntax to change the content of the HTML element below?<p id="demo">This is a demonstration.</p>

#demo,innerHTML="Hello World!";

document.getbyName("p").innerHTML = "Hello World!";

document.getByIdElement("demo").innerHTML = "Hello World!";

document.getElement("p").innerHTML = "Hello World!";

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

where is the correct place to insert javascript?

The <head> section

The <body> section

The <Title> section

Both <body> and <head> section

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The external JavaScript file must contain the <script> tag.

true

false

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a function in JavaScript?

function:myFunction()

function myFunction()

function = myFunction()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you call a function named "myFunction"?

call my function myFunction()

myFunction()

call MyFunction()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you add a comment in a JavaScript?

//This is a comment

'This is a comment

<!--This is a comment -->

*This is a comment*

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?