Skip to content

Latest commit

 

History

History
134 lines (75 loc) · 1.78 KB

answers.md

File metadata and controls

134 lines (75 loc) · 1.78 KB

Front End Developer Quiz - Answers

HTML

  1. Hyper Text Markup Language

  2. <img src="" alt=""/> is ok, <img src="" alt=""> (bonus point for no /) (width, height, title optional)

  3. <!-- This is a comment -->

  4. <dl><dt></dt><dd></dd></dl>

  5. Block elements <h1>, <p>, <ul>, <table>, Inline elements <b>, <td>, <a>, <img>

  6. &nbsp;

  7. %21

  8. MP4, WebM, ogg.

  9. Trick question, they all are.

CSS

  1. #FF0000, #F00, red

  2. margin: 50px 0;

  3. text-transform: uppercase;

  4. * { box-sizing: border-box }

  5. The last one, as the others won't work.

  6. Trick question again, all of them are.

  7. Add an underscore _ to the start.

div.logo {
  background: url("logo.png") no-repeat;
  @include image-2x("logo2x.png", 100px, 25px);
}
float: left;
margin: 10px auto;
padding: 20px;
width: 100px;
height: 50px;
background: #000;
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

JavaScript

  1. false, true, true, false, true, false, false, true

  2. 124, 93

  3. TypeError

  4. Number, String, Logical(Boolean), null, undefined

  5. \u0008

  6. a, d, e.

  7. Not A Number.

  8. xob, xob, xox, xox.

  9. LiveScript

  10. 04/12/1995

Browser

  1. It allows you to download Chrome, Firefox, Opera etc..

  2. Mosaic(1993), Netscape(1994), IE(1995), Opera(1996), Firefox(2004), Safari(2003), Chrome(2008)

  3. Windows: F12, Ctrl + Shift + I Mac: Cmd + Opt + I

  4. Shift + ?

  5. Yes.

Who's Who?!

  1. Jeffrey Zeldman

  2. John Resig

  3. Steve Souders

  4. Sir Timothy John "Tim" Berners-Lee

  5. Matt Mullenweg and Mike Little

One More For Fun

  1. http://www.w3fools.com/