Deck 6: Responsive Design Part 2 Designing for Tablet and Desktop Devices

Full screen (f)
exit full mode
Question
Which layout is used by the mobile-first approach to prevent horizontal scrolling and minimize vertical scrolling?

A) single-column layout
B) two-column layout
C) single-row layout
D) two-row layout
Use Space or
up arrow
down arrow
to flip the card.
Question
A _____ is attached to a selector with a colon to specify a state or relation to the selector to give the web developer more control over that selector.

A) pseudo-class
B) gradient
C) breakpoint
D) media query
Question
If a particular tablet device has a viewport smaller than the minimum size specified in the media query, the layout will default to the _____ viewport layout.

A) mobile
B) original
C) desktop
D) largest
Question
A(n) _____ gradient can transition from several different angles.

A) linear
B) axial
C) radial
D) binary
Question
When you write a media query that specifies @media only screen,  the  _____ indicates that older browsers should ignore the media query's style rules.

A) @
B) media
C) only
D) screen
Question
The _____ attribute is used to determine which stylesheet should be applied.

A) class
B) coords
C) media
D) shape
Question
Identify the pseudo-class used to style a link when the mouse is moving over it.

A) :link
B) :active
C) :hover
D) :visited
Question
The selector _____ identifies the color to apply to a navigation link that has been clicked.

A) nav a:link
B) nav a:active
C) nav a:hover
D) nav a:visited
Question
To understand the code and syntax of how a media query detects viewport size, you set a  _____  (sometimes called threshold), the point at which you want the webpage to change. 

A) media point
B) checkpoint
C) breakpoint
D) tracepoint
Question
Which character is placed between a selector and the pseudo-class?

A) ;
B) -
C) :
D) /
Question
The _____ is where you apply different styles to the webpage to cause it to change in a way that makes it easier to read and navigate for a particular viewport, such as a user viewing the webpage on a smart phone.

A) kernel
B) anchor
C) breakpoint
D) orientation
Question
Which is the correct order for using pseudo-classes?

A) link, visited, hover, active
B) active, hover, visited, link
C) link, visited, active, hover
D) active, link, visited, hover
Question
The selector _____ identifies the color to apply to a navigation link that has not yet been visited or clicked.

A) nav a:link
B) nav a:active
C) nav a:hover
D) nav a:visited
Question
The selector _____ identifies the color to apply to a navigation link while the pointer is moving over the link.

A) nav a:link
B) nav a:active
C) nav a:hover
D) nav a:visited
Question
The selector _____ identifies the color to apply to a navigation link when the link is being clicked or when it gains focus.

A) nav a:link
B) nav a:active
C) nav a:hover
D) nav a:visited
Question
Which is true of tablet viewports?

A) Tablet devices vary by operating system, manufacturer, and screen size.
B) It is easy to design a "one size fits all" layout for a tablet device.
C) One layout to target tablet viewports cannot be created.
D) When responsive web design and media queries are used, multiple tablet layouts must be designed to accommodate the growing tablet market.
Question
Identify the pseudo-class used to style an unvisited link.

A) :link
B) :active
C) : hover
D) :visited
Question
Which is true of page design for a tablet viewport?

A) The larger screen provides an opportunity for websites to display more content and use a single-column layout.
B) The appearance of the website should look different from viewport to viewport.
C) The layout and placement of content on a website should be the same in all viewports.
D) A tablet viewport is larger than a mobile viewport but smaller than a desktop viewport.
Question
One of the Cascading Style Sheet (CSS) properties is a _____, which is a gradual transition from one color to another.

A) breakpoint
B) gradient
C) media query
D) viewport
Question
Which pseudo-class is used to style a link that is being clicked at the moment?

A) :link
B) :active
C) :hover
D) :visited
Question
The default transition for radial gradients is from the top to the bottom.
Question
Media queries can apply styles to move, hide, or display content on a webpage, change text or colors, or add any other styles to make the page easier to read in a particular situation.
Question
The pseudo-class :hover is used to style an unvisited link.
Question
The pseudo-class :link is used to style a link that has been clicked.
Question
In linear gradients, the color begins in the center and transitions in a radial direction to another color or colors.
Question
To understand the code and syntax of how a media query detects viewport size, a breakpoint is set.
Question
A breakpoint is where different styles are applied to a webpage to cause it to change in a way that makes it easier to read and navigate for a particular situation.
Question
Media queries can be embedded in the _____ tag that connects an external style sheet to a Hypertext Markup Language (HTML) file, or they can be inserted in the external style sheet itself.

A) link
B) coords
C) datalist
D) embed
Question
The default transition of a(n) _____ gradient is from the top to the bottom. 

A) axial
B) core
C) linear
D) radial
Question
Media queries cannot determine the size of a viewport.
Question
The dynamic pseudo-classes are more often used in a desktop viewport because mobile and tablet devices are touch devices and do not have a hover option nor an option to click.
Question
Linear gradients can transition up, left, right, or diagonally.
Question
Identify the minimum viewport width for small smartphones.

A) 320px
B) 480px
C) 768px
D) 481px
Question
Which tool is effective at troubleshooting during the development process and adds a valuable level of professionalism to one's work?

A) abstraction
B) encapsulation
C) normalization
D) validation
Question
Radial gradients can transition from several different angles.
Question
Which gradient has color beginning in the center and transitions to another color or colors?

A) horizontal
B) linear
C) radial
D) diagonal
Question
Which gradients are specified by their center?

A) h orizontal
B) l inear
C) r adial
D) d iagonal
Question
To create a radial gradient, what is the least amount of colors that must be specified?

A) none
B) one
C) two
D) three
Question
A threshold is the point at which one wants a webpage to change.
Question
The color of links in a website changes due to the use of pseudo-classes in the website's style sheet.
Question
With so many tablet sizes, it can seem difficult to design a "one size fits all" layout for a tablet device. 
Question
The default style rule for the navigation list items displays them as vertical links with a border between each link. 
Question
Since desktop screens are often wider than those for other devices, a design for a desktop viewport can only use single-column layout.
Question
When testing for minimum and maximum widths, the word "and" separates each part of the media attribute value.
Question
If a logical expression evaluates to "false," the media query applies the styles that follow.
Question
If a particular tablet device has a viewport smaller than the minimum size specified in the media query, the layout will default to the desktop viewport layout.
Question
When designing for a tablet viewport, layout and placement of content should remain the same from viewport to viewport.
Question
A webpage's files should be run through W3C's validator to check the documents for errors.
Question
In a mobile-first strategy, the mobile styles are listed first, because these are the default styles.
Question
To add style rules that target tablet or desktop viewports in particular, create a media query for each viewport.
Question
The only thing that should change while designing a tablet viewport is the appearance of the website.
Question
You can add as many colors as desired to the gradient.
Question
To determine the ideal layout for a website's tablet viewport, review the current website in Google Chrome's device mode at 481px to determine where content should be added and whether any content should be hidden.
Question
Media queries can be implemented by coding them directly into a single Cascading Style Sheet (CSS) file using the _____ rule.

A) @import
B) @query
C) @media
D) @display
Question
The tablet market took off in 2010; however, as the size of smartphones increased, the tablet market started to decline. 
Question
Identify the maximum viewport width for tablets and larger smartphones.

A) 320px
B) 481px
C) 768px
D) 1279px
Question
Which is the minimum viewport width for large desktop monitors?

A) 320px
B) 481px
C) 768px
D) 1280px
Question
When you use responsive web design and media queries, you do not need to design multiple tablet layouts to accommodate tablet devices. 
Question
A tablet viewport is larger than a mobile viewport but smaller than a desktop viewport.
Question
Styles created for smaller viewports apply to larger viewports by default.
Question
Match between columns
Enhances the appearance of the webpage for tablet and desktop displays.
device mode
Enhances the appearance of the webpage for tablet and desktop displays.
gradient
Enhances the appearance of the webpage for tablet and desktop displays.
mobile-first
Enhances the appearance of the webpage for tablet and desktop displays.
validator
Enhances the appearance of the webpage for tablet and desktop displays.
mobile
Enhances the appearance of the webpage for tablet and desktop displays.
link
Enhances the appearance of the webpage for tablet and desktop displays.
media
Enhances the appearance of the webpage for tablet and desktop displays.
hover
Attribute used to determine which stylesheet should be applied.
device mode
Attribute used to determine which stylesheet should be applied.
gradient
Attribute used to determine which stylesheet should be applied.
mobile-first
Attribute used to determine which stylesheet should be applied.
validator
Attribute used to determine which stylesheet should be applied.
mobile
Attribute used to determine which stylesheet should be applied.
link
Attribute used to determine which stylesheet should be applied.
media
Attribute used to determine which stylesheet should be applied.
hover
Feature in Google Chrome used to view and test the website for each viewport.
device mode
Feature in Google Chrome used to view and test the website for each viewport.
gradient
Feature in Google Chrome used to view and test the website for each viewport.
mobile-first
Feature in Google Chrome used to view and test the website for each viewport.
validator
Feature in Google Chrome used to view and test the website for each viewport.
mobile
Feature in Google Chrome used to view and test the website for each viewport.
link
Feature in Google Chrome used to view and test the website for each viewport.
media
Feature in Google Chrome used to view and test the website for each viewport.
hover
Default layout used if a device has a viewport smaller than the minimum size specified.
device mode
Default layout used if a device has a viewport smaller than the minimum size specified.
gradient
Default layout used if a device has a viewport smaller than the minimum size specified.
mobile-first
Default layout used if a device has a viewport smaller than the minimum size specified.
validator
Default layout used if a device has a viewport smaller than the minimum size specified.
mobile
Default layout used if a device has a viewport smaller than the minimum size specified.
link
Default layout used if a device has a viewport smaller than the minimum size specified.
media
Default layout used if a device has a viewport smaller than the minimum size specified.
hover
Approach that focuses on styling content appropriately for smaller, mobile devices.
device mode
Approach that focuses on styling content appropriately for smaller, mobile devices.
gradient
Approach that focuses on styling content appropriately for smaller, mobile devices.
mobile-first
Approach that focuses on styling content appropriately for smaller, mobile devices.
validator
Approach that focuses on styling content appropriately for smaller, mobile devices.
mobile
Approach that focuses on styling content appropriately for smaller, mobile devices.
link
Approach that focuses on styling content appropriately for smaller, mobile devices.
media
Approach that focuses on styling content appropriately for smaller, mobile devices.
hover
Gives a chance to identify and correct errors in a document.
device mode
Gives a chance to identify and correct errors in a document.
gradient
Gives a chance to identify and correct errors in a document.
mobile-first
Gives a chance to identify and correct errors in a document.
validator
Gives a chance to identify and correct errors in a document.
mobile
Gives a chance to identify and correct errors in a document.
link
Gives a chance to identify and correct errors in a document.
media
Gives a chance to identify and correct errors in a document.
hover
Pseudo-class that provides an interactive experience for the desktop user.
device mode
Pseudo-class that provides an interactive experience for the desktop user.
gradient
Pseudo-class that provides an interactive experience for the desktop user.
mobile-first
Pseudo-class that provides an interactive experience for the desktop user.
validator
Pseudo-class that provides an interactive experience for the desktop user.
mobile
Pseudo-class that provides an interactive experience for the desktop user.
link
Pseudo-class that provides an interactive experience for the desktop user.
media
Pseudo-class that provides an interactive experience for the desktop user.
hover
Tag used to connect an external style sheet to an HTML file.
device mode
Tag used to connect an external style sheet to an HTML file.
gradient
Tag used to connect an external style sheet to an HTML file.
mobile-first
Tag used to connect an external style sheet to an HTML file.
validator
Tag used to connect an external style sheet to an HTML file.
mobile
Tag used to connect an external style sheet to an HTML file.
link
Tag used to connect an external style sheet to an HTML file.
media
Tag used to connect an external style sheet to an HTML file.
hover
Question
Which describes the width of a screen in pixels?

A) max-width
B) min-resolution
C) max-height
D) orientation
Question
Which describes the height of a viewport in pixels?

A) max-height
B) min - width
C) max-resolution
D) orientation
Question
Explain how pseudo-classes are used to style links.
Question
Kevin would like to apply a gradient that transitions from blue for the top portion of the page to white for the bottom portion of the page. Which function should he use?

A) background: linear-gradient(blue, white);
B) background: linear-gradient(bottom white, top blue);
C) background: linear-gradient(white, blue);
D) background: linear-gradient(to top blue, to bottom white);
Question
Define and discuss the types of gradients in Cascading Style Sheets (CSS).
Question
To verify the website appearance across multiple types of devices, Kevin would like to view the website from each viewport. Using Google Chrome, which mode may he use to accomplish this task?

A) modulate
B) validate
C) device
D) function
Question
The logical expressions to media queries in an external Cascading Style Sheet (CSS) file are as follows:@media screen and (min-width: 481px) {.mobile { display: none; }}In this case, _____ is the feature of the screen that is tested.

A) @media screen
B) .mobile
C) min-width
D) display
Question
Samantha wants the color of unvisited links to remain white. Which pseudo-class should she use?

A) :link
B) :hover
C) :active
D) :visited
Question
Samantha wants the color of visited links to turn purple. Which pseudo-class should she use?

A) :link
B) :hover
C) :active
D) :visited
Question
Samantha wants the color of the Home link to turn yellow when she moves the pointer over it. Identify the pseudo-class that should be used to perform this function.

A) :link
B) :hover
C) :active
D) :visited
Question
Discuss media query expressions with relevant examples.
Question
To gain focus, Samantha would like to modify the color of active links. Which dynamic pseudo-class should she use?

A) :link
B) :hover
C) :active
D) :visited
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/73
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 6: Responsive Design Part 2 Designing for Tablet and Desktop Devices
1
Which layout is used by the mobile-first approach to prevent horizontal scrolling and minimize vertical scrolling?

A) single-column layout
B) two-column layout
C) single-row layout
D) two-row layout
A
2
A _____ is attached to a selector with a colon to specify a state or relation to the selector to give the web developer more control over that selector.

A) pseudo-class
B) gradient
C) breakpoint
D) media query
A
3
If a particular tablet device has a viewport smaller than the minimum size specified in the media query, the layout will default to the _____ viewport layout.

A) mobile
B) original
C) desktop
D) largest
A
4
A(n) _____ gradient can transition from several different angles.

A) linear
B) axial
C) radial
D) binary
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
5
When you write a media query that specifies @media only screen,  the  _____ indicates that older browsers should ignore the media query's style rules.

A) @
B) media
C) only
D) screen
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
6
The _____ attribute is used to determine which stylesheet should be applied.

A) class
B) coords
C) media
D) shape
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
7
Identify the pseudo-class used to style a link when the mouse is moving over it.

A) :link
B) :active
C) :hover
D) :visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
8
The selector _____ identifies the color to apply to a navigation link that has been clicked.

A) nav a:link
B) nav a:active
C) nav a:hover
D) nav a:visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
9
To understand the code and syntax of how a media query detects viewport size, you set a  _____  (sometimes called threshold), the point at which you want the webpage to change. 

A) media point
B) checkpoint
C) breakpoint
D) tracepoint
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
10
Which character is placed between a selector and the pseudo-class?

A) ;
B) -
C) :
D) /
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
11
The _____ is where you apply different styles to the webpage to cause it to change in a way that makes it easier to read and navigate for a particular viewport, such as a user viewing the webpage on a smart phone.

A) kernel
B) anchor
C) breakpoint
D) orientation
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
12
Which is the correct order for using pseudo-classes?

A) link, visited, hover, active
B) active, hover, visited, link
C) link, visited, active, hover
D) active, link, visited, hover
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
13
The selector _____ identifies the color to apply to a navigation link that has not yet been visited or clicked.

A) nav a:link
B) nav a:active
C) nav a:hover
D) nav a:visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
14
The selector _____ identifies the color to apply to a navigation link while the pointer is moving over the link.

A) nav a:link
B) nav a:active
C) nav a:hover
D) nav a:visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
15
The selector _____ identifies the color to apply to a navigation link when the link is being clicked or when it gains focus.

A) nav a:link
B) nav a:active
C) nav a:hover
D) nav a:visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
16
Which is true of tablet viewports?

A) Tablet devices vary by operating system, manufacturer, and screen size.
B) It is easy to design a "one size fits all" layout for a tablet device.
C) One layout to target tablet viewports cannot be created.
D) When responsive web design and media queries are used, multiple tablet layouts must be designed to accommodate the growing tablet market.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
17
Identify the pseudo-class used to style an unvisited link.

A) :link
B) :active
C) : hover
D) :visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
18
Which is true of page design for a tablet viewport?

A) The larger screen provides an opportunity for websites to display more content and use a single-column layout.
B) The appearance of the website should look different from viewport to viewport.
C) The layout and placement of content on a website should be the same in all viewports.
D) A tablet viewport is larger than a mobile viewport but smaller than a desktop viewport.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
19
One of the Cascading Style Sheet (CSS) properties is a _____, which is a gradual transition from one color to another.

A) breakpoint
B) gradient
C) media query
D) viewport
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
20
Which pseudo-class is used to style a link that is being clicked at the moment?

A) :link
B) :active
C) :hover
D) :visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
21
The default transition for radial gradients is from the top to the bottom.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
22
Media queries can apply styles to move, hide, or display content on a webpage, change text or colors, or add any other styles to make the page easier to read in a particular situation.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
23
The pseudo-class :hover is used to style an unvisited link.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
24
The pseudo-class :link is used to style a link that has been clicked.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
25
In linear gradients, the color begins in the center and transitions in a radial direction to another color or colors.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
26
To understand the code and syntax of how a media query detects viewport size, a breakpoint is set.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
27
A breakpoint is where different styles are applied to a webpage to cause it to change in a way that makes it easier to read and navigate for a particular situation.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
28
Media queries can be embedded in the _____ tag that connects an external style sheet to a Hypertext Markup Language (HTML) file, or they can be inserted in the external style sheet itself.

A) link
B) coords
C) datalist
D) embed
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
29
The default transition of a(n) _____ gradient is from the top to the bottom. 

A) axial
B) core
C) linear
D) radial
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
30
Media queries cannot determine the size of a viewport.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
31
The dynamic pseudo-classes are more often used in a desktop viewport because mobile and tablet devices are touch devices and do not have a hover option nor an option to click.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
32
Linear gradients can transition up, left, right, or diagonally.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
33
Identify the minimum viewport width for small smartphones.

A) 320px
B) 480px
C) 768px
D) 481px
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
34
Which tool is effective at troubleshooting during the development process and adds a valuable level of professionalism to one's work?

A) abstraction
B) encapsulation
C) normalization
D) validation
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
35
Radial gradients can transition from several different angles.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
36
Which gradient has color beginning in the center and transitions to another color or colors?

A) horizontal
B) linear
C) radial
D) diagonal
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
37
Which gradients are specified by their center?

A) h orizontal
B) l inear
C) r adial
D) d iagonal
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
38
To create a radial gradient, what is the least amount of colors that must be specified?

A) none
B) one
C) two
D) three
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
39
A threshold is the point at which one wants a webpage to change.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
40
The color of links in a website changes due to the use of pseudo-classes in the website's style sheet.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
41
With so many tablet sizes, it can seem difficult to design a "one size fits all" layout for a tablet device. 
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
42
The default style rule for the navigation list items displays them as vertical links with a border between each link. 
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
43
Since desktop screens are often wider than those for other devices, a design for a desktop viewport can only use single-column layout.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
44
When testing for minimum and maximum widths, the word "and" separates each part of the media attribute value.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
45
If a logical expression evaluates to "false," the media query applies the styles that follow.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
46
If a particular tablet device has a viewport smaller than the minimum size specified in the media query, the layout will default to the desktop viewport layout.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
47
When designing for a tablet viewport, layout and placement of content should remain the same from viewport to viewport.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
48
A webpage's files should be run through W3C's validator to check the documents for errors.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
49
In a mobile-first strategy, the mobile styles are listed first, because these are the default styles.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
50
To add style rules that target tablet or desktop viewports in particular, create a media query for each viewport.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
51
The only thing that should change while designing a tablet viewport is the appearance of the website.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
52
You can add as many colors as desired to the gradient.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
53
To determine the ideal layout for a website's tablet viewport, review the current website in Google Chrome's device mode at 481px to determine where content should be added and whether any content should be hidden.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
54
Media queries can be implemented by coding them directly into a single Cascading Style Sheet (CSS) file using the _____ rule.

A) @import
B) @query
C) @media
D) @display
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
55
The tablet market took off in 2010; however, as the size of smartphones increased, the tablet market started to decline. 
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
56
Identify the maximum viewport width for tablets and larger smartphones.

A) 320px
B) 481px
C) 768px
D) 1279px
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
57
Which is the minimum viewport width for large desktop monitors?

A) 320px
B) 481px
C) 768px
D) 1280px
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
58
When you use responsive web design and media queries, you do not need to design multiple tablet layouts to accommodate tablet devices. 
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
59
A tablet viewport is larger than a mobile viewport but smaller than a desktop viewport.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
60
Styles created for smaller viewports apply to larger viewports by default.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
61
Match between columns
Enhances the appearance of the webpage for tablet and desktop displays.
device mode
Enhances the appearance of the webpage for tablet and desktop displays.
gradient
Enhances the appearance of the webpage for tablet and desktop displays.
mobile-first
Enhances the appearance of the webpage for tablet and desktop displays.
validator
Enhances the appearance of the webpage for tablet and desktop displays.
mobile
Enhances the appearance of the webpage for tablet and desktop displays.
link
Enhances the appearance of the webpage for tablet and desktop displays.
media
Enhances the appearance of the webpage for tablet and desktop displays.
hover
Attribute used to determine which stylesheet should be applied.
device mode
Attribute used to determine which stylesheet should be applied.
gradient
Attribute used to determine which stylesheet should be applied.
mobile-first
Attribute used to determine which stylesheet should be applied.
validator
Attribute used to determine which stylesheet should be applied.
mobile
Attribute used to determine which stylesheet should be applied.
link
Attribute used to determine which stylesheet should be applied.
media
Attribute used to determine which stylesheet should be applied.
hover
Feature in Google Chrome used to view and test the website for each viewport.
device mode
Feature in Google Chrome used to view and test the website for each viewport.
gradient
Feature in Google Chrome used to view and test the website for each viewport.
mobile-first
Feature in Google Chrome used to view and test the website for each viewport.
validator
Feature in Google Chrome used to view and test the website for each viewport.
mobile
Feature in Google Chrome used to view and test the website for each viewport.
link
Feature in Google Chrome used to view and test the website for each viewport.
media
Feature in Google Chrome used to view and test the website for each viewport.
hover
Default layout used if a device has a viewport smaller than the minimum size specified.
device mode
Default layout used if a device has a viewport smaller than the minimum size specified.
gradient
Default layout used if a device has a viewport smaller than the minimum size specified.
mobile-first
Default layout used if a device has a viewport smaller than the minimum size specified.
validator
Default layout used if a device has a viewport smaller than the minimum size specified.
mobile
Default layout used if a device has a viewport smaller than the minimum size specified.
link
Default layout used if a device has a viewport smaller than the minimum size specified.
media
Default layout used if a device has a viewport smaller than the minimum size specified.
hover
Approach that focuses on styling content appropriately for smaller, mobile devices.
device mode
Approach that focuses on styling content appropriately for smaller, mobile devices.
gradient
Approach that focuses on styling content appropriately for smaller, mobile devices.
mobile-first
Approach that focuses on styling content appropriately for smaller, mobile devices.
validator
Approach that focuses on styling content appropriately for smaller, mobile devices.
mobile
Approach that focuses on styling content appropriately for smaller, mobile devices.
link
Approach that focuses on styling content appropriately for smaller, mobile devices.
media
Approach that focuses on styling content appropriately for smaller, mobile devices.
hover
Gives a chance to identify and correct errors in a document.
device mode
Gives a chance to identify and correct errors in a document.
gradient
Gives a chance to identify and correct errors in a document.
mobile-first
Gives a chance to identify and correct errors in a document.
validator
Gives a chance to identify and correct errors in a document.
mobile
Gives a chance to identify and correct errors in a document.
link
Gives a chance to identify and correct errors in a document.
media
Gives a chance to identify and correct errors in a document.
hover
Pseudo-class that provides an interactive experience for the desktop user.
device mode
Pseudo-class that provides an interactive experience for the desktop user.
gradient
Pseudo-class that provides an interactive experience for the desktop user.
mobile-first
Pseudo-class that provides an interactive experience for the desktop user.
validator
Pseudo-class that provides an interactive experience for the desktop user.
mobile
Pseudo-class that provides an interactive experience for the desktop user.
link
Pseudo-class that provides an interactive experience for the desktop user.
media
Pseudo-class that provides an interactive experience for the desktop user.
hover
Tag used to connect an external style sheet to an HTML file.
device mode
Tag used to connect an external style sheet to an HTML file.
gradient
Tag used to connect an external style sheet to an HTML file.
mobile-first
Tag used to connect an external style sheet to an HTML file.
validator
Tag used to connect an external style sheet to an HTML file.
mobile
Tag used to connect an external style sheet to an HTML file.
link
Tag used to connect an external style sheet to an HTML file.
media
Tag used to connect an external style sheet to an HTML file.
hover
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
62
Which describes the width of a screen in pixels?

A) max-width
B) min-resolution
C) max-height
D) orientation
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
63
Which describes the height of a viewport in pixels?

A) max-height
B) min - width
C) max-resolution
D) orientation
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
64
Explain how pseudo-classes are used to style links.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
65
Kevin would like to apply a gradient that transitions from blue for the top portion of the page to white for the bottom portion of the page. Which function should he use?

A) background: linear-gradient(blue, white);
B) background: linear-gradient(bottom white, top blue);
C) background: linear-gradient(white, blue);
D) background: linear-gradient(to top blue, to bottom white);
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
66
Define and discuss the types of gradients in Cascading Style Sheets (CSS).
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
67
To verify the website appearance across multiple types of devices, Kevin would like to view the website from each viewport. Using Google Chrome, which mode may he use to accomplish this task?

A) modulate
B) validate
C) device
D) function
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
68
The logical expressions to media queries in an external Cascading Style Sheet (CSS) file are as follows:@media screen and (min-width: 481px) {.mobile { display: none; }}In this case, _____ is the feature of the screen that is tested.

A) @media screen
B) .mobile
C) min-width
D) display
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
69
Samantha wants the color of unvisited links to remain white. Which pseudo-class should she use?

A) :link
B) :hover
C) :active
D) :visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
70
Samantha wants the color of visited links to turn purple. Which pseudo-class should she use?

A) :link
B) :hover
C) :active
D) :visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
71
Samantha wants the color of the Home link to turn yellow when she moves the pointer over it. Identify the pseudo-class that should be used to perform this function.

A) :link
B) :hover
C) :active
D) :visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
72
Discuss media query expressions with relevant examples.
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
73
To gain focus, Samantha would like to modify the color of active links. Which dynamic pseudo-class should she use?

A) :link
B) :hover
C) :active
D) :visited
Unlock Deck
Unlock for access to all 73 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 73 flashcards in this deck.