Welcome to your Test

What is doctype? Why do u need it?
Does style1.css have to be downloaded and parsed before style2.css can be fetched?
<head> <link href="style1.css" rel="stylesheet"> <link href="style2.css" rel="stylesheet"> </head>

What would be the color of text "I am awesome" for he following rules?
for questions a , b , c

<ul class="shopping-list" id="awesome"> <li><span>Milk</span></li> <li class="favorite" id="must-buy"><span class="highlight">I am awesome</span></li> </ul>
<style> ul#awesome { color: red; } ul.shopping-list li.favorite span { color: blue; } </style>
<style> ul#awesome #must-buy { color: red; } .favorite span { color: blue!important; } </style>
<style> #awesome .favorite:not(#awesome) .highlight { color: red; } #awesome .highlight:nth-of-type(1):nth-last-of-type(1) { color: blue; } </style>
On page load, will mypic.jpg get downloaded by the browser?
<style> #test2 { background-image: url('mypic.jpg'); display: none; } </style> <div id="test1"> <span id="test2"></span> </div>
How would you remove duplicate members from an array?