Skip to content

Instantly share code, notes, and snippets.

@seykron
Created September 27, 2013 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seykron/6732836 to your computer and use it in GitHub Desktop.
Save seykron/6732836 to your computer and use it in GitHub Desktop.
Frontend Developer Interview

Frontend Developer Interview

General

  1. Are you on Github? If so, what are some examples of repos you follow (and who are you in there :).

  2. Can you describe your workflow when you create a web page?

  3. Explain what “Semantic HTML” means. Is this important? why?

  4. If you have 8 different stylesheets for a given design, how would you integrate them into the site?

  5. What’s a doctype do, and how many can you name?

  6. Name 3 ways to decrease page load. (perceived or actual load time)

  7. Explain the importance of standards (you can use bullets!).

JavaScript

  1. Which JavaScript libraries have you used? Why?

  2. According to the following piece of code:

function Person() { }
Person.prototype.jobs = [];
var person1 = Person()
var person2 = new Person()
var person3 = new Person()

a) What's the difference between person1 and person2? b) Which jobs have person2 according to the following code. Please, explain why in as much detail as possible.

person2.jobs.push(“developer”);
person2.jobs.splice(-1, 0, “engineer”);
person3.jobs.push(“PhD”);
person2.jobs.concat([“technician”]);
person3.jobs.shift();

c) Add two jobs (“developer” and “engineer”) to person2 and only one (“PhD”) to person 3.

  1. Given an array: var foo = [“one”, “two”, “three”, “four”];

Write an algorithm to send each element to the server asynchronously. You must wait for element n-1 server's response before processing element n.

  1. When would you use document.write()?

  2. How would you upload a file to a server without reloading the page? Explain it as much as detail as possible.

  3. Have you ever used JavaScript templating, and if so, what/how?

  4. Describe event bubbling.

jQuery

  1. Explain “chaining”.

  2. What is the difference between $ and $.fn? Or just what is $.fn.

CSS

  1. Describe what a “reset” CSS file does and how it’s useful.

  2. Explain CSS sprites, and how you would implement them on a page or site.

  3. What are the different ways to visually hide content (and make it available only for screenreaders)?

  4. Explain how a browser determines what elements match a CSS selector

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