
CSS and jQuery
Authored by Lay Jones
Computers
Professional Development
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which line of html code would you use to add the image 'image.jpg' into index.html?
<img src="image.jpg">
<img href="image.jpg">
<img src="project/images/image.jpg">
<img src="images/image.jpg">
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does CSS stand for?
Colourful Style Sheets
Cascading Style Sheets
Creative Style Sheets
Computer Style Sheets
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When using the padding property, are you allowed to use negative values?
Yes
No
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which line of css would set the text in this paragraph to red?
<div id="container">
<p class="empth">Please be red</p>
</div>
#container.empth p { color: red;}
#container .empth p { color: red;}
#container p.empth { color: red;}
#empth p {color: red;}
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct CSS syntax for making all the <p> elements bold?
p { font-weight: bold; }
< p style="text-size: bold;" >
p { text-size: bold; }
< p style="font-size: bold;" >
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What language or library is the following code written in?
#function{
margin-left:20px;
}
JavaScript
CSS
jQuery
German
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The most common cause for this error in a jQuery program is:
Your JS file is referenced before the jQuery library
Internet connectivity issues
You didn't define $ as a variable
The script path is incorr4ect
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?