I was consulting for a startup once and the owner asked me to create an examination he could use to screen front-end "developers". Question #1 asked the applicant to create a modal dialog without using Javascript. He told me that question filtered out several candidates.