Skip to content

Commit 522796f

Browse files
authored
Chaining Selectors: Remove stale instructions (#709)
Some content was changed in a previous PR but missed some stuff, leaving some confusing instructions and comments in.
1 parent fff6287 commit 522796f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

foundations/intro-to-css/04-chaining-selectors/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Credits for the images in this exercise go to [Katho Mutodo](https://linktr.ee/photobykatho_) and [Andrea Piacquadio](https://www.pexels.com/@olly?utm_content=attributionCopyText&utm_medium=referral&utm_source=pexels).
44

55

6-
With this exercise, we've provided you with a partially completed HTML file which you'll configure. The purpose of this exercise is to focus on understanding how to chain different selectors, rather than solely adding attributes. Additionally, you'll have the chance to review your HTML images.
6+
With this exercise, we've provided you with a complete HTML file and a CSS file to work with. The purpose of this exercise is to focus on understanding how to chain different selectors, rather than solely adding attributes.
77

88
We have two images for you to style, each with two class names, where one of the class names is shared. The goal here is to chain the selectors for both elements, so that each have a unique style applied, despite using a shared class selector. For example, you want an element that has both X and Y to have one set of styles, while an element with X and Z has a completely different set of styles. We included the original images as well, so that you can see how the styles you will be adding look in comparison, so do not add any styles to them.
99

foundations/intro-to-css/04-chaining-selectors/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<link rel="stylesheet" href="style.css">
99
</head>
1010
<body>
11-
<!-- Check image source path. Review Foundations lesson - Links and Images -->
1211
<!-- Use the classes BELOW this line -->
1312
<div>
1413
<img class="avatar proportioned" src="./images/pexels-katho-mutodo-8434791.jpg" alt="Woman with glasses">

0 commit comments

Comments
 (0)