Front End Web Developer

  Home  Web Development  Front End Web Developer


“Front End Web Developer related Frequently Asked Questions by expert members with professional career as Front End Web Developer. These list of interview questions and answers will help you strengthen your technical skills, prepare for the new job interview and quickly revise your concepts”



76 Front End Web Developer Questions And Answers

21⟩ Tell me are you a team player? Give an example of a time when you had to resolve a conflict with another member on your team?

There are many jobs associated with putting together an application, and chances are high that your new JavaScript developer will at the very least have to interface with a designer. You’re looking for a developer who can communicate effectively when they need to, responds to emails, and knows how to coordinate with other branches of a project.

 135 views

22⟩ Tell me the difference between classical inheritance and prototypal inheritance?

The great thing about JavaScript is the ability to do away with the rigid rules of classical inheritance and let objects inherit properties from other objects.

☛ Classical Inheritance: A constructor function instantiates an instance via the “new” keyword. This new instance inherits properties from a parent class.

☛ Prototypal Inheritance: An instance is created by cloning an existing object that serves as a prototype. This instance—often instantiated using a factory function or “Object.create()”—can benefit from selective inheritance from many different objects.

 176 views

23⟩ Tell me what can you do to improve page performance?

In a nutshell page performance is widely understood as the page load time from the users' perspective, so below are some steps that might improve a page's performance.

Use sprite images whenever possible, try to group small images commonly used in a single file to be requested just once. See how Google uses sprites in Google Maps to make one request instead of one for each small image. See a sprite from Google Maps

Javascripts should be at the bottom of the page, instead of in the head as we use to see out there;

Ensure parallel requests of your JS and CSS files. In order to force the browser to do that, you can optimize the order you include resources in your page. This item can generate its own blog post or even a book so I prefer to suggest you a really good reading about it.

Compress images whenever possible, it makes a difference;

Browser Caching is also very import to be set for static resources like JS and CSS files, images, PDFs and HTML. Caching is set in the HTTP header by informing browsers the expiry date or maximum age. Then browsers can load the last downloaded resource from the cache instead of request it again.

 131 views

28⟩ Explain me the Purpose Of Each Of The Http Request Types When Used With A Restful Web Service?

The purpose of each of the HTTP request types when used with a RESTful web service is as follows:

☛ GET: Retrieves data from the server (should only retrieve data and should have no other effect).

☛ POST: Sends data to the server for a new entity. It is often used when uploading a file or submitting a completed web form.

☛ PUT: Similar to POST, but used to replace an existing entity.

☛ PATCH: Similar to PUT, but used to update only certain fields within an existing entity.

☛ DELETE: Removes data from the server.

☛ TRACE: Provides a means to test what a machine along the network path receives when a request is made. As such, it simply returns what was sent.

☛ OPTIONS: Allows a client to request information about the request methods supported by a service. The relevant response header is Allow and it simply lists the supported methods. (It can also be used to request information about the request methods supported for the server where the service resides by using a * wildcard in the URI.)

☛ HEAD: Same as the GET method for a resource, but returns only the response headers (i.e., with no entity-body).

☛ CONNECT: Primarily used to establish a network connection to a resource (usually via some proxy that can be requested to forward an HTTP request as TCP and maintain the connection). Once established, the response sends a 200 status code and a "Connection Established" message.

 146 views

29⟩ Tell me why Table-less Layout Is Very Important?

There are several reasons why web designers should stop using tables for layouts, and adopt the use of CSS for controlling HTML layouts.

☛ It adheres to current W3C web standards and it improves accessibility of the information to a wider variety of users, using a wide variety of user agents.

☛ There are bandwidth savings as large numbers of semantically meaningless <table>, <tr> and <td> tags are removed from dozens of pages leaving fewer, but more meaningful headings, paragraphs and lists.

☛ Layout instructions are transferred into site-wide CSS stylesheets, which can be downloaded once and cached for reuse while each visitor navigates the site.

☛ If coded well, CSS makes it easy to apply global changes to the layout

☛ Web pages often have less code, and are much thinner when XHTML and CSS are used

☛ Sites may become more maintainable as the whole site can be restyled or re-branded in a single pass merely by altering the mark-up of the specific CSS, affecting every page which relies on that stylesheet.

☛ New HTML content can be added in such a way that consistent layout rules are immediately applied to it by the existing CSS without any further effort.

 123 views

35⟩ Do you know what Is An Iife?

IIFE stands for immediately-invoked function expression; it executes immediately after created by adding a () after the function.

 125 views

40⟩ Do you know functions in CoffeeScript?

Functions in CoffeeScript is an (Optional) list of parameters followed by an arrow and then the function body.

For example, log = (message) à console.log message

 119 views