CSS and JQuery

CSS and JQuery

Professional Development

9 Qs

quiz-placeholder

Similar activities

CSS Selectors Basics

CSS Selectors Basics

CSS - HTML Styling Quiz

CSS - HTML Styling Quiz

Final CSS Select by ID

Final CSS Select by ID

HTML & CSS Basics

HTML & CSS Basics

CSS Practice Quiz

CSS Practice Quiz

CSS Select by ID

CSS Select by ID

CSS and JQuery

CSS and JQuery

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Gage Larsen

Used 146+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The "#" is used to select an html element by its:

class

id

name

data attribute

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The "." is used to select an html element by its:

favorite color

id

class

name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following is correct syntax for CSS


p { color: red; }

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When would the following code be run


$(function() {});

When the user requests the page

When the user pushes a button

After all the elements are loaded

Never

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CSS stands for

Cascading Style Sheets

Creative Style Settings

Compact Software Settings

Creative Setting Selectors

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is selected by $('.foo')?

<p>Foo</p>

<img id='foo'></img>

<div class='foo'></div>

<foo></foo>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is selected by $('#bar')?

<div class='bar'></div>

<p data-bar='bar'></p>

<h1>bar</h1>

<img id='bar'></img>

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of these CSS selectors would select all of the <img> tags in a <div>

img div

img.div

div img

div.img

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following, what would $('.foo').data('info') return?


<div id='foo' data-info='google' data-test='bar'></div>

google

bar

div

undefined