Skip to content

Commit c8e327b

Browse files
committed
removed easy show and tell
1 parent 20e0e27 commit c8e327b

File tree

1 file changed

+8
-20
lines changed

1 file changed

+8
-20
lines changed

css.html

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
<div class="jumbotron">
186186
<div class="container">
187187
<h1>css</h1>
188-
<h2>css related interview questions</h2>
188+
<h2>21+ interview questions for JavaScript developer</h2>
189189
<p>January 05, 2014</p>
190190
<div class="g-plusone"></div>
191191
</div>
@@ -204,7 +204,7 @@ <h2>css related interview questions</h2>
204204
<li><a href="#rapidFire">tricky questions</a></li>
205205
<li><a href="#units">pixels, em vs percent</a></li>
206206
<li><a href="#position">relative, absolute or fixed position.</a></li>
207-
<li><a href="#displayVisibility"><code>display:none</code> vs <code>visibility:hidden</code></a></li>
207+
<li><a href="#displayVisibility">display:none vs visibility:hidden</a></li>
208208
<li><a href="#inlineBlock">inline, inline-block vs block</a></li>
209209
<li><a href="#boxModel">box Model</a></li>
210210
<li><a href="#overflow">overflow</a></li>
@@ -507,41 +507,29 @@ <h2>20. pre processor</h2>
507507
<div id="seeAndTell">
508508
<h2>21. see & tell</h2>
509509
<p><strong>Question:</strong> What is the color of text sausage for he following rule?</p>
510-
<strong>html:</strong>
510+
<p><strong>html:</strong> for questions a-d.</p>
511511
<pre><code>
512512
&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;
513-
</code></pre>
514-
<strong>a.</strong>
515-
<pre><code>
516-
&lt;style&gt;<br/> ul {<br/> color: red;<br/> }<br/> li {<br/> color: blue;<br/> }<br/>&lt;/style&gt;
517-
</code></pre>
518-
<p><strong>Answer:</strong> blue</p>
519-
<br>
520-
<p><strong>b.</strong></p>
521-
<pre><code>
522-
&lt;style&gt;<br/> .shopping-list .favorite {<br/> color: red;<br/> }<br/> #must-buy {<br/> color: blue;<br/> }<br/>&lt;/style&gt;
523-
</code></pre>
524-
<p><strong>Answer:</strong> blue</p>
525-
<br>
526-
<strong>c.</strong>
513+
</code></pre>
514+
<strong>a.</strong>
527515
<pre><code>
528516
&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;
529517
</code></pre>
530518
<p><strong>Answer:</strong> blue</p>
531519
<br>
532-
<strong>d.</strong>
520+
<strong>b.</strong>
533521
<pre><code>
534522
&lt;style&gt;<br/> ul#awesome #must-buy {<br/> color: red;<br/> }<br/> .favorite span {<br/> color: blue!important;<br/> }<br/>&lt;/style&gt;<br/>
535523
</code></pre>
536524
<p><strong>Answer:</strong> blue</p>
537525
<br>
538-
<strong>e.</strong>
526+
<strong>c.</strong>
539527
<pre><code>
540528
&lt;style&gt;<br/> ul.shopping-list li .highlight {<br/> color: red;<br/> }<br/> ul.shopping-list li .highlight:nth-of-type(odd) {<br/> color: blue;<br/> }<br/>&lt;/style&gt;<br/>
541529
</code></pre>
542530
<p><strong>Answer:</strong> blue</p>
543531
<br>
544-
<strong>f.</strong>
532+
<strong>d.</strong>
545533
<pre><code>
546534
&lt;style&gt;<br/> #awesome .favorite:not(#awesome) .highlight {<br/> color: red;<br/> }<br/> #awesome .highlight:nth-of-type(1):nth-last-of-type(1) {<br/> color: blue;<br/> }<br/>&lt;/style&gt;<br/>
547535
</code></pre>

0 commit comments

Comments
 (0)