
jQuery Recap Exercise
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
JX Chow
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In order to make use of jQuery in our HTML page, which of the following lines of code must be put in our page?
<link rel="stylesheet" href="styles/style_anchor.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="script/jquery-3.6.0.js"></script>
<script src="script/jquery.slider.min.js"></script>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following lines of code will allow your jQuery code to be succcessfully run?
<script src="script/jquery-slider-theme.js"></script>
<script src="script/jquery.slider.min.js"></script>
<script src="script/jquery-3.6.0.js"></script>
<script src="script/jquery-slider-theme.js"></script>
<script src="script/jquery-slider-theme.js"></script>
<script src="script/jquery-3.6.0.js"></script>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the selector for an element whose ID is "MyID"?
$("#MyID")
$("MyID")
$("#MYID")
$(".MyID")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What goes into A and B?
$(A).B()
A = selector
B = value
A = ID
B = action
A = selector
B = action
A = ID
B = value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following command in Javascript, which jQuery code will do the same thing?
document.getElementById("lastname").value
$(".lastname").val()
$("#lastname").val()
$("lastname").val()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the following?
$(document).ready( function() { … } );
It executes the code inside when the function is called
It executes the code inside before any other code
It executes the code inside when the document is ready
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given that you can get the Inner HTML of a paragraph in this way:
$("p").html()
How do you SET the Inner HTML of the same paragraph?
$("p").html() = "MY NEW PARAGRAPH"
$("p").html("MY NEW PARAGRAPH");
$("p").html().set("MY NEW PARAGRAPH")
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Revisão LP 2023.1
Quiz
•
Professional Development
10 questions
Avaliação Pensamento Computacional - Prático
Quiz
•
1st Grade - Professio...
15 questions
AWS ACF PT-BR Módulo 2 - Economia e Faturamento na Nuvem
Quiz
•
Professional Development
11 questions
Sains Komputer Tingkatan 4 - 1.7.1 Menghuraikan setiap fasa
Quiz
•
1st Grade - Professio...
15 questions
Python Class 1
Quiz
•
Professional Development
10 questions
PHP QUIZ-2
Quiz
•
Professional Development
10 questions
ÔN CUỐI NĂM KHỐI 5
Quiz
•
Professional Development
10 questions
CodeMonkey Platform Management & Resources
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
