Web Development Quiz

Quiz
•
Computers
•
University
•
Medium
Anis Ramdani
Used 4+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does the action attribute in a
tag define?
Form method
CSS class
The URL where the form data is sent
JavaScript validator
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which HTTP method is commonly used to send data to the server?
GET
POST
PUT
DELETE
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these is a valid way to get an element in the DOM?
document.getElementById("demo")
window.alert("demo")
document.alertElement("demo")
getElement("demo")
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does JSON.stringify() do in JavaScript?
Parses a JSON string into an object
Converts an object to a JSON string
Validates JSON
Sends JSON to a server
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which PHP superglobal retrieves form data sent using POST?
$_GET
$_POST
$_FORM
$_INPUT
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct way to define a function in JavaScript?
let function = () => {}
function myFunc() { }
def myFunc():
func myFunc()
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of addEventListener() in JavaScript?
Adds a class to an element
Attaches a function to run when an event occurs
Changes element color
Binds HTML to CSS
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
PHP Form

Quiz
•
University
20 questions
SOAP

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
20 questions
1ºDAM/DAW - Lenguajes de Marcas - UD2-3-9 - Prof. C. Boni

Quiz
•
University - Professi...
20 questions
Prueba Diagnóstica PHP Básico

Quiz
•
10th Grade - University
21 questions
3°D_SAV2_R2 3TECBE_ Algoritmos Estruturas Dados_17_36 QUIZIZZ

Quiz
•
11th Grade - University
16 questions
JavaScript Learning Quiz 1

Quiz
•
12th Grade - University
15 questions
UAS Pemrograman Berkerangka Kerja

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade