Developer_rahul

CSS Interview Question

Question
a) What are the five possible values for “position”?
b) What is the default/initial value for “position”?
c) How does the browser determine where to place positioned elements
d) What are the pros and cons of using absolute positioning?
e) if they are really advanced, ask about IE z-index issues with positioned elements.

Answer
a) Values for position: static, relative, absolute, fixed, inherit
b) Static
c) They are placed relative to the next parent element that has absolute or relative value declared
d) Absolutely positioned elements are removed from the document flow. The positioned element does not flow around the content of other elements, nor does their content flow around the positioned element. An absolutely positioned element may overlap other elements, or be overlapped by them.
e) IE treats a position like a z-index reset, so you have to declare position of static on the parent element containing the z-indexed elements to have them responsd to z-index correctly.

Basic Javascript Interview Question

Question:
What is the correct way to include JavaScript into your HTML?
Answer:
See Including Javascript in XHTML for answers.

Answer Rating: 
     <a href=”javscript:function()”> – and other incorrect answers
  1. verbally explains the theory but doesn’t know how to do it
  2. correct explanation using inline event handlers or inline code
  3. discusses and knows how to implement javascript event listeners
  4. Explainst how you include JS within an XHTML document and ensure it validates using CDATA, explains
Developer_rahul

Basic Interview Questions, Hints and Tips

Question: Tell me about yourself.
Answer: Identify some of your main attributes and memorise them. Describe your qualifications, career history and range of skills, emphasising those skills relevant to the job on offer.
Q: What have your achievements been to date?
A. Select an achievement that is work-related and fairly recent. Identify the skills you used in the achievement and quantify the benefit it had to the company. For example, ‘my greatest achievement has been to design and implement a new sales ledger system, bringing it in ahead of time and improving our debtors’ position significantly, saving the company £50,000 a month in interest’.
Q: Are you happy with your career-to-date?
A: This question is really about your self-esteem, confidence and career aspirations. The answer must be ‘yes’, followed by a brief explanation as to what it is about your career so far that’s made you happy. If you have hit a career plateau, or you feel you are moving too slowly, then you must qualify your answer.
Q: What is the most difficult situation you have had to face and how did you tackle it?
A: The purpose of this question is to find out what your definition of difficult is and whether you can show a logical approach to problem solving. In order to show yourself in a positive light, select a difficult work situation which was not caused by you and which can be quickly explained in a few sentences. Explain how you defined the problem, what the options were, why you selected the one you did and what the outcome was. Always end on a positive note.
Q: What do you like about your present job?
A: This is a straightforward question. All you have to do is make sure that your ‘likes’ correspond to the skills required for the job on offer. Be enthusiastic; describe your job as interesting and diverse but do not overdo it - after all, you are looking to leave.

 

Twitter Bird Gadget