Ninjas Web Developer

  Home  Web Development  Ninjas Web Developer


“Web Development Ninjas related Frequently Asked Questions in various Ninjas Web Developer job interviews by interviewer. The set of questions here ensures that you offer a perfect answer posed to you. So get preparation for your new job hunting”



58 Ninjas Web Developer Questions And Answers

22⟩ Do you know what does DOCTYPE mean?

The term DOCTYPE tells the browser which type of HTML is used on a webpage. In turn, the browsers use DOCTYPE to determine how to render a page. Failing to use DOCTYPE or using a wrong DOCTYPE may load your page in Quirks Mode. See example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">.

 217 views

23⟩ Tell us why did you get into coding, programming, etc.?

“Because I can make good $,” “I don’t like to dress up or shave,” and “because I loved the movie Hackers,” are not good enough answers. Well… a comment about Hackers might fly but make sure you have a real backstory that describes your “Aha!” moment.

 225 views

26⟩ Tell me what, in your mind, is the single greatest problem facing the mobile game industry today? If you had total control, how would you fix it?

Tough question: I touched on it before. In the App Store, the biggest problem is discoverability. Getting your games in front of customers’ eyeballs. And then, of course, the next major problem is retention – getting the player back into the game and keeping them playing. In this disposable world, it’s very easy for users to just delete your app and move on to the next big thing. I’m hoping that, at least in the iOS App Store, that the new features in iOS 8 may help alleviate this problem.

 261 views

27⟩ Tell me how do you retrieve attribute of an HTML tag using jQuery e.g. href of links?

The attr() method is used to retrieve the value of an attribute of any HTML element. You first need to select all links or specified links using the jQuery selector and then you can apply the attr() method to get the value of their href attribute. The code below will find all links from a page and return the href value :

view sourceprint?

$('a').each(function(){

alert($(this).attr('href'));

});

 217 views

30⟩ Explain me how do you think that the mobile gaming industry will evolve in the coming year?

The mobile game industry changes so quickly that it’s hard to predict what will happen tomorrow, let alone in a year! But, for sure, more smart phones (Amazon Fire Phone and iPhone 6) should create more competition and more opportunities for us as developers. I think real money betting in games could be huge, too. If Apple releases their rumoured Apple TV update with a games eco system, I can see that being the next big thing: streaming your mobile games on your home TV.

 214 views

31⟩ Tell me what is the coolest thing you ever coded? Do you have any personal projects you are working on?

These two questions are interchangeable. Any developer worth his weight had to practice somewhere or on something before they landed their first gig. If not, how did you get this interview anyway?! Review your past experiences, and even if they were boring to you, figure out a new frame of reference that demonstrates passion and a zest for learning.

 254 views

33⟩ Explain me have you thought of adding more characters to the game? Giving players the option to buy them?

Yes. We’ve actually modified the code of Turtle Ninja Run and used it in another game so we plan to update Turtle Ninja Run soon with those additional features. We plan on releasing an update with a few bug fixes and additional characters that users can unlock with coins and special characters available only via an In App Purchase.

 242 views

34⟩ Explain me what is the main advantage of loading jQuery library using CDN?

This is a slightly advanced jQuery question. Well, apart from many advantages including reducing server bandwidth and faster download, one of the most important is that, if browser has already downloaded same jQuery version from the same CDN, then it won’t download it again. Since nowadays, many public websites use jQuery for user interaction and animation, there is a very good chance that the browser already has the jQuery library downloaded.

 208 views

35⟩ Explain me what is “Semantic HTML?”?

Semantic HTML is a coding style where the tags embody what the text is meant to convey. In Semantic HTML, tags like <b></b> for bold, and <i></i> for italic should not be used, reason being they just represent formatting, and provide no indication of meaning or structure. The semantically correct thing to do is use <strong></strong> and <em></em>. These tags will have the same bold and italic effects, while demonstrating meaning and structure (emphasis in this case).

 210 views

36⟩ Do you know the real difference between HTML and HTML5?

From a broader perspective, HTML was a simple language for laying out text and images on a webpage, whereas HTML5 can be viewed as an application development platform that does what HTML does that and more, including better support for audio, video, and interactive graphics. It has a number of new elements, supports offline data storage for applications, and has more robust exchange protocols. Thus, proprietary plug-in technologies like Adobe Flash, Microsoft Silverlight, Apache Pivot, and Sun JavaFX are no longer needed, because browsers can now process these elements without additional requirements.

 217 views

37⟩ Tell me how do you hide an image on a button click using jQuery?

This jQuery interview question is based on event handling. jQuery provides good support for handling events like button click. You can use following code to hide an image, found using Id or class. What you need to know is the hide() method and how to setup an even handler for button, to handle clicks, you can use following jQuery code to do that :

$('#ButtonToClick').click(function(){

$('#ImageToHide').hide();

});

I like this jQuery question, because it’s like a practical task and also code is not difficult to write.

 194 views

39⟩ Tell me how do you find all the selected options of HTML select tag?

This is one of the tricky jQuery question on Interviews. This is a basic question, but don’t expect every jQuery beginner to know about this. You can use the following jQuery selector to retrieve all the selected options of <select> tag with multiple=true :

$('[name=NameOfSelectedTag] :selected')

This code uses the attribute selector in combination of :selected selector, which returns only selected options. You can tweak this and instead of name, you can even use id attribute to retrieve

<select> tag.

 206 views

40⟩ Explain me what is the difference between <div> and <frame>?

A <div> is a generic container element for grouping and styling, whereas a <frame> creates divisions within a web page and should be used within the <frameset> tag. The use of <frame> and <frameset> are no longer popular and are now being replaced with the more flexible <iframe>, which has become popular for embedding foreign elements (ie. Youtube videos) into a page.

 204 views