Sunday, April 29, 2012

Javascript Interview Test 75% Right

I just finished a contract doing Javascript for Windows 8, I barely knew it going in, but was up to doing some fairly fancy stuff within a month. On this test, I was just a bit fuzzy on the browser issues that largely don't matter for win8 apps take test here This is overall a pretty easy test especially if you are a c c++ c# programmer. Leave correct answers or how you did in comments below if you dare! 1. Inside which HTML element do we put the JavaScript?  Correct Answer! 2. What is the correct JavaScript syntax to write "Hello World"? You answered: response.write("Hello World")   Wrong Answer! 3. Where is the correct place to insert a JavaScript?  Correct Answer! 4. What is the correct syntax for referring to an external script called "xxx.js"?  Correct Answer! 5. The external JavaScript file must contain the