Skip to content

Instantly share code, notes, and snippets.

@bryanaka
Last active December 30, 2015 06:59
Show Gist options
  • Save bryanaka/7792713 to your computer and use it in GitHub Desktop.
Save bryanaka/7792713 to your computer and use it in GitHub Desktop.
PBD Student Challenge

Student Challenge

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.
  1. 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>
    
  2. 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!");  
     });
    
  3. What is wrong, if anything, with the following HTML from a stylistic perspective?

     <a href="#" onclick="function(){alert("Yeah, science!");}">
    
  4. 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"}
      ]
     }
    
  5. Include links to any work you have live on the web and/or your github account

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment