Which type of operation should a developer use to set a condition when adding a media query?
Suggested Answer: C
Get Premium WGU (KVO1) Web Development Applications Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
> ''Media queries rely on Boolean logic to define conditions. Keywords like `and`, `or`, and `not` are used to combine or negate media features.''
Example:
```css
@media screen and (min-width: 600px) and (max-width: 900px)
```
* MDN Web Docs: Media Queries - Logical Operators
* CSS Media Queries Level 4 Specification
---
12 comments · newest first
EM
Emilio
3 days ago
C) Boolean makes the most sense here.
JE
Jenise
8 days ago
I thought it might be A) Multiplication, but I guess not.
BO
Bok
13 days ago
Definitely C) Boolean, that's how conditions work!
YU
Yuki
18 days ago
I agree, Boolean is the way to go!
TE
Teddy
23 days ago
Wait, are we really using Bitwise for media queries?
KA
Kattie
29 days ago
C) Boolean makes the most sense here.
YU
Yuki
1 month ago
I thought it was A) Multiplication at first.
NI
Nida
1 month ago
Definitely C) Boolean for conditions!
CE
Ceola
1 month ago
I'm leaning towards Boolean as well, but what if it's something like bitwise? That seems a bit out of place for media queries though.
AN
Antonio
2 months ago
I feel like addition could be relevant too, but it seems more like a mathematical operation rather than a conditional one.
JA
Jacqueline
2 months ago
I remember practicing a question about media queries, but I can't recall if it specifically mentioned operations like these.
PA
Paris
2 months ago
I think it might be a Boolean operation since we're dealing with conditions, but I'm not entirely sure.