Skip to content

Commit d946c21

Browse files
committed
updated question patterns
1 parent 48d6c79 commit d946c21

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

css.html

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,26 @@ <h2>7. David Shariff </h2>
188188
</div>
189189
<div id="download_order">
190190
<h2>8. applied rule</h2>
191-
<p><strong>Question:</strong> What is the color of text sausage?</p>
191+
<p><strong>Question:</strong> What is the color of text sausage for he following rule?</p>
192+
<strong>html:</strong>
192193
<pre><code>
193-
&lt;style&gt;<br/> ul {<br/> color: red;<br/> }<br/> li {<br/> color: blue;<br/> }<br/>&lt;/style&gt;<br/>&lt;ul class=&quot;shopping-list&quot; id=&quot;awesome&quot;&gt;<br/> &lt;li&gt;&lt;span&gt;Milk&lt;/span&gt;&lt;/li&gt;<br/> &lt;li class=&quot;favorite&quot; id=&quot;must-buy&quot;&gt;&lt;span class=&quot;highlight&quot;&gt;Sausage&lt;/span&gt;&lt;/li&gt;<br/>&lt;/ul&gt;
194+
&lt;ul class=&quot;shopping-list&quot; id=&quot;awesome&quot;&gt;<br/> &lt;li&gt;&lt;span&gt;Milk&lt;/span&gt;&lt;/li&gt;<br/> &lt;li class=&quot;favorite&quot; id=&quot;must-buy&quot;&gt;&lt;span class=&quot;highlight&quot;&gt;Sausage&lt;/span&gt;&lt;/li&gt;<br/>&lt;/ul&gt;
194195
</code></pre>
196+
<strong>a.</strong>
197+
<pre><code>
198+
&lt;style&gt;<br/> ul {<br/> color: red;<br/> }<br/> li {<br/> color: blue;<br/> }<br/>&lt;/style&gt;
199+
</code></pre>
200+
<p><strong>Answer:</strong> blue</p>
201+
<br>
202+
<p><strong>b.</strong></p>
203+
<pre><code>
204+
&lt;style&gt;<br/> .shopping-list .favorite {<br/> color: red;<br/> }<br/> #must-buy {<br/> color: blue;<br/> }<br/>&lt;/style&gt;
205+
</code></pre>
195206
<p><strong>Answer:</strong> blue</p>
196207
<br>
197-
<p><strong>Question:</strong> What would be color of text sausage?</p>
208+
<strong>c.</strong>
198209
<pre><code>
199-
&lt;style&gt;<br/> ul li {<br/> color: red;<br/> }<br/> #must-buy {<br/> color: blue;<br/> }<br/>&lt;/style&gt;<br/>&lt;ul class=&quot;shopping-list&quot; id=&quot;awesome&quot;&gt;<br/> &lt;li&gt;&lt;span&gt;Milk&lt;/span&gt;&lt;/li&gt;<br/> &lt;li class=&quot;favorite&quot; id=&quot;must-buy&quot;&gt;&lt;span class=&quot;highlight&quot;&gt;Sausage&lt;/span&gt;&lt;/li&gt;<br/>&lt;/ul&gt;
210+
&lt;style&gt;<br/> ul#awesome {<br/> color: red;<br/> }<br/> ul.shopping-list li.favorite span {<br/> color: blue;<br/> }<br/>&lt;/style&gt;
200211
</code></pre>
201212
<p><strong>Answer:</strong> blue</p>
202213
ref: <a href="http://davidshariff.com/quiz/">David Shariff: quiz</a>

0 commit comments

Comments
 (0)