From the course: Advanced CSS Media Queries
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Challenge - CSS Tutorial
From the course: Advanced CSS Media Queries
Challenge
(upbeat music) - [Instructor] Time for a challenge! Based on all of the cool stuff you know about media queries now and how to combine media queries using and, or, and not. Based on what you know now I'd like you to make a change to this page. If the device is a laptop, I'd like to see the oils presented in the opposite order that they are displayed. In other words, I want this to read basil, chili, lemon, and delicate rather than in the order that they are listed right now. If the browser window is narrow, I would like to see a list of oils in alphabetical order displayed without the picture or the Buy Now button stacked all on top of each other. To add an extra challenge, see if you can do this reordering without making a change to the HTML, do it only with CSS. Sounds like fun, huh? Well, good luck. This starting code is exactly the same code we've been using throughout the course and our examples and so you…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Testing for conditions with and3m 11s
-
(Locked)
Testing for conditions with not4m 15s
-
(Locked)
Testing for comma-separated conditions (or)3m 25s
-
(Locked)
Targeting specific devices using complex media queries3m 39s
-
(Locked)
Working with only42s
-
(Locked)
Challenge1m 23s
-
(Locked)
Solution4m 47s
-
(Locked)
-