Front End Web Development Interview Questions
0of 0 votes1. There are a cluster of stateless servers all serving the same pages. 2. The servers are hosting 5 web pages- p1.html, p2.html, p3.html, p4.html and p5.html 3. p1.html just redirects users to the other 4 pages 4. Requests to p1.html should result in 10% of users being redirected to p2.html, 5% of users redirected to p3.html, 20% of users redirected to p4.html, and 65% of users redirected to p5.html. 5. Users do not need to stick to the page they are first redirected to. They could end up on a different page with every request to p1.html 6. Write a function/pseudocode that would be invoked with every request to p1.html and redirect the correct percentage of users to the correct page.
0of 0 voteshow do u use persistent storage on browsers . what are various options .
my ans : html5 : we can use localstorage and persistent storage.
non-html5 browsers : we can use cookies .
1of 1 votehow do u detect useragent in css . suppose u want to use different css on mobile devices.
my ans : media tag.
0of 0 votesMajor difference between Forward and sendRedirect apart from browser calls sendRedirect and container process forward request?
0of 0 votesif a web and a standalone system is developed under the condition like constant no of user for both appliction, same hardware and network configuration. which one will be better and why?
0of 0 votesSomething that web browser can't do?
0of 0 votesDifference between == and === in JScript, Write a method to detect mouse hovering over a text box using CSS style sheets
0of 0 votesExplain WCF?
What is Webservice?
What is SOAP Protocol?
Difference between HTTP and TCP?
0of 0 votesOur website is making a lot of HTTP with over 40 icons and a couple very large gif images. How would reduce the number of requests.
0of 0 votesWrite jQuery code to alert a message box when you click on a paragraph with the content of paragraph.
0of 0 votesWrite HTML/CSS code to put odd images on left and even number images on right with some text content (basically float images).
