Top ten mostly asked questions for web designer in any Interview

For a interviewee it’s  very difficult to prepare for an Interview just because of the un-planned interview and unawareness of exact requirement.Here we have discussed few questions and their answers based on our experience.

1-What is local storage concept in HTML 5?

Ans: Many times we would like to store information about the user locally in the computer. For example let’s say user has half-filled a long form and suddenly the internet connection breaks off. So the user would like you to store this information locally and when the internet comes back.He would like to get that information and send it to the server for storage.

Modern browsers have storage called as “Local storage” in which you can store this information.

2-What is difference between Border, padding, margin?

Ans: Border: – This defines the maximum area in which the element will be contained. We can make the border visible, invisible, define height and width etc.

Padding: – This defines the spacing between border and element.

Margin: – This defines the spacing between border and any neighboring elements.

3-Tell me about selectors in CSS?

Ans:  Selectors help to select an element to which you want to apply a style. For example below is a simple style called as ‘intro” which applies red color to background of a HTML element.

Hide   Copy Code

<style>

.intro

{

background-color:red;

}

</style>

To apply the above “intro” style to div we can use the “class” selector as shown in the below figure.

Hide   Copy Code

My name is Shivprasad koirala.

I write interview questions.

4-How do we use closure concept in Javascript?

Ans:  A closure is an inner function that has access to the variables in the outer (enclosing) function’s scope chain. The closure has access to variables in three scopes; specifically: (1) variable in its own scope, (2) variables in the enclosing function’s scope, and (3) global variables.

Read how to develop apps in HTML5.

5-Is this possible to create responsive pages in Sharepoint 2013?if,yes then how?

Ans:-Downloaded the Bootstrap folder and included in the project. Make the layout of the project. first  make a Homepage .In the second page I used Column layout (Grid Layout ) Three Column Structure. For that I used the Bootstrap Col-sm-3 class and for Col-md for Medium type of device and then we had requirement to show only the middle column and hide the left and right column.For that I made my hidden class and used media Query for displaying none to those columns.

I simply wrote media-query for displaying none to both columns

@media Screen only(max-width:768px)
{
hidden{display:none;}
}

then I was able to hide those columns simply in mobile and Tablet.

Mobile view and pc view in sharepoint

People who are using mobile devices can choose between two kinds of views—mobile view and pc view—for some kinds of SharePoint sites and a OneDrive for Business library. In pc view, users see navigation links across the top of the page. In mobile view, users see the site formatted to display nicely on their device.

To try out mobile view on a device, use the following procedure:

  1. Open a SharePoint site on the device.
  2. In the upper right corner of the site, tap Settings , and then tap Site settings.
  3. Under Site Actions, tap Manage site features.
  4. Set the Mobile Browser View to Active. (The default setting is Active.)

To switch back to mobile view, tap Settings , and then tap Mobile view.

Some sites are configured automatically to offer people the mobile view option. For other sites, you must activate the Mobile Browser View feature.

6-Why do we use Ember.js?

Ans: Ember.js is used for creating web applications that eliminates boilerplate and at the same time provides a standard application architecture.

Ember helps to create applications, whose logic runs in browser and also it does not require server requests to functions. Ember update the DOM directly and instantly when any user interacts with things like button and text boxes on the browser page.

Read about drupal migration.

  1. How do we define new ember class?

Ans: You can use call the extend () method on Ember.object to define a new ember class

  1. Can you describe use of Enumerables in ember.js ?

Ans: In Ember.js an enumerable is any object that contains a number of child objects, and enables you to work with those children using the Ember.Enumerable API. Native JavaScript array is the most common enumerable in majority of Apps.

  1. Describe in deep about ember.mixin class ?

Ans: Ember.mixin class can create objects, whose functions and properties can be shared among other instances and classes.  This will help to share behaviour between objects as well as design objects.

10-Explain about Ember.Namespace.Class ?

Ans: A Namespace.Class is usually used to define an object which contains other objects or methods such as an application or framework.

A web development company start hiring as per their requirement of project.So, It’s my personal view that a person should prepare to self in such manner that they are going to develop any project.if you have a project in your mind that will help you answer easily because there will be question & answer based on the requirement.

Visit our blogs for

My name is Shivprasad koirala.

I write interview questions.

4-How do we use closure concept in Javascript? Ans: A closure is an inner function that has access to the variables in the outer (enclosing) function’s scope chain. The closure has access to variables in three scopes; specifically: (1) variable in its own scope, (2) variables in the enclosing function’s scope, and (3) global variables. 5-Is this possible to create responsive pages in Sharepoint 2013?if,yes then how? Ans:-Downloaded the Bootstrap folder and included in the project. Make the layout of the project. first make a Homepage .In the second page I used Column layout (Grid Layout ) Three Column Structure. For that I used the Bootstrap Col-sm-3 class and for Col-md for Medium type of device and then we had requirement to show only the middle column and hide the left and right column.For that I made my hidden class and used media Query for displaying none to those columns. I simply wrote media-query for displaying none to both columns @media Screen only(max-width:768px) { hidden{display:none;} } then I was able to hide those columns simply in mobile and Tablet. Mobile view and pc view in sharepoint People who are using mobile devices can choose between two kinds of views—mobile view and pc view—for some kinds of SharePoint sites and a OneDrive for Business library. In pc view, users see navigation links across the top of the page. In mobile view, users see the site formatted to display nicely on their device. To try out mobile view on a device, use the following procedure: 1. Open a SharePoint site on the device. 2. In the upper right corner of the site, tap Settings , and then tap Site settings. 3. Under Site Actions, tap Manage site features. 4. Set the Mobile Browser View to Active. (The default setting is Active.) To switch back to mobile view, tap Settings , and then tap Mobile view. Some sites are configured automatically to offer people the mobile view option. For other sites, you must activate the Mobile Browser View feature. 6-Why do we use Ember.js? Ans: Ember.js is used for creating web applications that eliminates boilerplate and at the same time provides a standard application architecture. Ember helps to create applications, whose logic runs in browser and also it does not require server requests to functions. Ember update the DOM directly and instantly when any user interacts with things like button and text boxes on the browser page. 7. How do we define new ember class? Ans: You can use call the extend () method on Ember.object to define a new ember class 8. Can you describe use of Enumerables in ember.js ? Ans: In Ember.js an enumerable is any object that contains a number of child objects, and enables you to work with those children using the Ember.Enumerable API. Native JavaScript array is the most common enumerable in majority of Apps. 9. Describe in deep about ember.mixin class ? Ans: Ember.mixin class can create objects, whose functions and properties can be shared among other instances and classes. This will help to share behaviour between objects as well as design objects. 10-Explain about Ember.Namespace.Class ? Ans: A Namespace.Class is usually used to define an object which contains other objects or methods such as an application or framework.”>latest technologies

.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s