Website Developer

  Home  Web Development  Website Developer


“Website Developer related Frequently Asked Questions by expert members with professional career as Website 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”



80 Website Developer Questions And Answers

41⟩ Do you know what Is Namespacing In Javascript And Where Is It Used?

Using global variables is a bad practice in most programming languages including JavaScript. But sometimes, it is not possible to avoid the global variables. So JavaScript introduces the concept of namespacing which ties down a part of the code and register it with a unique name.

A namespace is just an object in JavaScript that acts as a container for methods, properties, and objects. It encourages modularity and reusability in a web application.

 141 views

43⟩ Explain me what Is The Use Of Float Property In CSS?

With the help of float property, we can control the position and layout of elements on a web page.

For example, it can define the placement of a <div> either to the right or left side.

Also, to note that it doesn’t interfere with the elements appearing before.

div {

float: left;

}

 105 views

44⟩ Do you know what Is Grouping In CSS3?

Grouping makes it possible to apply the same style to multiple HTML elements (Classes/Tag/ID) within a single declaration. It happens by specifying all the selectors separated by commas.

#page p, ul { padding-top: 10px; margin: 0; }

 125 views

45⟩ Tell me what Is The Difference Between LocalStorage And SessionStorage Objects?

Following points describes the differences between the localStorage and sessionStorage objects.

☛ The <localStorage> object doesn’t have an expiry for the stored data whereas the <sessionStorage> object keeps it only for a single session.

☛ The <localStorage> object doesn’t have a provision to delete the data upon closing of browser window whereas the <sessionStorage> object clears it simultaneously with the window closing down.

 149 views

46⟩ Do you know what Are The New DocType And Charset In HTML5?

The DocType element communicates the HTML version to the browser. It usually appears in the first line of code of an HTML page. Unlike the earlier versions/standards of HTML, DocType has got a simplified format in HTML5.

<!doctype html>

The CharSet is a new meta tag attribute in HTML5 which configures the character encoding.

<meta charset=”UTF-8″>

 118 views

47⟩ Tell us what are a few personal web projects you've got going on?

Almost all developers have personal web projects they like to plug away at in their spare time. This is another question that can help differentiate the passionate developers from the clock-punchers. It's also a good question to end an interview with, as it's usually easy (and fun) for them to answer.

 149 views

48⟩ Explain how comfortable are you with writing HTML entirely by hand?

Although their resume may state that they're an HTML expert, often times many developers can't actually write an HTML document from top to bottom. They rely on an external publisher or have to constantly flip back to a reference manual. Any developer worth a damn should at least be able to write a simple HTML document without relying on external resources. A possible exercise is to draw up a fake website and ask them to write the HTML for it. Keep it simple and just make sure they have the basics down - watch for mistakes like forgetting the <head> </head> tags or serious misuse of certain elements. If they write something like: <image src="/some/image.gif">, it might be a good hint to wrap things up and call the next interviewee.

 127 views

49⟩ Tell me what’s the difference between GET and POST?

Both are methods used in HTTP requests. Generally it is said that GET is to download data and PUT is to upload data. But we can do both downloading as well as uploading either by GET/POST.

GET:

☛ If we are sending parameters in a GET request to the server, then those parameters will be visible in the URL, because in GET, parameters are append to the URL. So there’s a lack of security while uploading to the server.

☛ We can only send a limited amount of data in a GET request, because the URL has its max limit and we can not append a long data string to the URL.

POST:

☛ If we are using POST then we are sending parameters in the body section of a request. If we send data after using encryption in the body of an http request, it’s quite a bit more secure.

☛ We can send a lot more data using POST.

☛ Note: GET is faster in the case of just getting data using a static API call in cases where we don’t have to pass any parameters.

 125 views

50⟩ Show me your code snippets?

Whether it's plain old HTML or freakishly advanced ruby on rails, ask for code samples. Source code can say more about a persons work habits than you think. Clean, elegant code can often be indicative of a methodical, capable developer. A resume may say 6+ years of perl experience, but that could mean 7 years of bad, unreadable perl. Also, make sure you ask for a lot of source code, not just a few isolated functions or pieces of HTML. Anyone can clean up 20-30 lines of code for an interview, you want to see the whole shebang. Don't ask for a full, functional app, but make sure it's enough that you can tell it's really what their code is like.

 145 views

53⟩ Tell me what Is An ID Selector?

The ID selector uses the “ID” attribute of the target HTML element to select it. The constraint to work is that the ID should be unique within a page so that the selector can point it out correctly.

To build an ID selector expression, start with a hash (#) character, followed by the id of the element.

Here is an example which selects a paragraph element using its ID.

#sample {padding: 10px;}

<p id="selector">...</p>

 140 views

54⟩ Tell me what Are Pseudo-Classes In CSS?

A Pseudo-Class is a CSS technique to set the style when the element changes its state.

For example.

Edit the style upon mouse hover event.

Set the style when an element gets focus.

Apply different styles for visited/unvisited links.

selector:pseudo-class {

property:value;

}

 152 views

55⟩ Tell us what Is The Difference Between <Alert()> And <Confirm()> Popup Boxes?

The <alert()> method displays a message in a popup box and has only one <Ok> button.

But the <confirm()> method asks for confirmation from the user so that it can get the opinion of visitors. It has two buttons i.e. <Yes> and <No>.

In short, <alert()> popup is to display the messages to the users whereas the <confirm()> dialog is good for knowing the choices of the visitors.

 142 views

56⟩ Explain me the key advantages of HTTP/2 as compared with HTTP 1.1?

HTTP/2 provides decreased latency to improve page load speed by supporting:

☛ Data compression of HTTP headers

☛ Server push technologies

☛ Loading of page elements in parallel over a single TCP connection

☛ Prioritization of requests

☛ An important operational benefit of HTTP/2 is that it avoids the head-of-line blocking problem in HTTP 1.

 123 views

57⟩ Tell us what sized websites have you worked on in the past?

Find a developer that has experience similar in size to the project you're putting together. Developers with high traffic, large scale site expertise may offer skills that smaller-sized developers don't, such as fine tuning apache or optimizing heavily hit SQL queries. On the other hand, developers who typically build smaller sites may have an eye for things that large scale developers don't, such as offering a greater level of visual creativity.

 125 views

59⟩ Tell me which Property Do You Use To Modify The Face Of A Font In CSS?

First of all, please note that both the terms <@font-face> and <font-family> refers to changing the font of an HTML element. However, there is a slight difference between the two.

☛ The <@font-face> is a CSS rule that facilitates the use of custom fonts on a web page.

☛ The <font-family> is a CSS property which specifies the font for a web element.

Also, to change the font or face of a font, we need to set the <font-family> property. Please see the below example.

@font-face {

font-family: myCustomFont;

src: url(sansation_light.woff);

}

body {

font-family: 'myCustomFont', Fallback, Ariel;

}

 176 views