This is a short quiz to make sure you have the fundamentals in place to apply for our position. Please email your answers to pbdwebmaster@lbl.gov when finished. This shouldn't take you longer than 20 minutes.
Just a few guidelines:
- Take into consideration both functionality and style.
- Any code written should be in PHP or Ruby, unless noted otherwise.
- Any written answer should be no more than 4 sentences.
-
What tags in the following HTML may produce unexpected behavior in Internet Explorer 8 unless properly handled? Why does this happen?
<article> <p>Lorem Ipsum, this is the introduciton to PBD</p> <figure> <img src="ipsum.jpg"> </figure> </article>
-
What does the jQuery code below do? (assume the corresponding html is in place to function normally)
$("#labs").on("click", ".lab", function() { alert("Better call Saul!"); });
-
What is wrong, if anything, with the following HTML from a stylistic perspective?
<a href="#" onclick="function(){alert("Yeah, science!");}">
-
Write code that will take the following JSON and print out the corresponding HTMl Table
{ "scientists": [ { "first_name": "Walter", "last_name": "White", "profession": "Chemist"}, { "first_name": "Jessie", "last_name": "Pinkman", "profession": "Cook"}, { "first_name": "Skyler", "last_name": "White", "profession": "Accountant"} ] }
-
Include links to any work you have live on the web and/or your github account