Question:- What is pagination? How can pagination be implemented?
Answer:- Pagination is a simple sequence of pages on a website. These pages are interconnected and have similar content to display to the users. A simple example is the page selector on an e-commerce site that allows the users to browse through the products present on multiple pages rather than scrolling up and down on one single page.
Question:- What are the components of the CSS box model?
Answer:- The CSS box model is used to represent an entity that encloses all of the HTML content into a box or a button element. There are four components: 1. Border: Denotes the padding and content around the border 2. Content: Refers to the actual content to be displayed 3. Margin: Refers to the top layer of the box element 4. Padding: Defines the empty space around the element
Question:- What are some of the properties of transitions in CSS3?
Answer:- Transitions in CSS3 are easy to use, and they provide users with rapid and efficient animation effects. The four main properties present in the transitions are: • transition-delay • transition-duration • transition-property • transition-timing-function
Question:- What is the use of pseudo-classes in CSS?
Answer:- Pseudo-classes are used as a popular technique in CSS to change the style of an element when this element changes its state. There are numerous examples of when you use a pseudo-class: • For the style change when the mouse moves over the element • For out-of-focus animations • For providing styles for external links
Question:- What is the use of media queries in CSS3?
Answer:- Media queries are used to define styles in CSS, which are responsive based on a variety of shapes and sizes of the viewing window. They are used to adjust the following entities: • Height • Width • Viewport • Resolution • Orientation
Question:- Why is float used in CSS?
Answer:- Float is a popular property in CSS to control the layout and position of an element on a web page. Any element can be placed on the web page as per requirement. Consider the following example: div { float: right; } Here, the contents of div will be placed on the right side of the screen.
Question:- Why is float used in CSS?
Answer:- Float is a popular property in CSS to control the layout and position of an element on a web page. Any element can be placed on the web page as per requirement. Consider the following example: div { float: right; } Here, the contents of div will be placed on the right side of the screen.
Question:- What is the meaning of long polling in Web Development?
Answer:- Long polling is a development pattern that is used to emulate a data push operation from a server to a client machine. When long polling is operational, the client sends in a request to the server, and the data is pushed. The connection will timeout only when the data is sent to the client or after the timeout criteria are met.
Question:- What are some of the Web Development technologies that you know?
Answer:- This question is very common in a Web Development interview. The answer is based on your learning, experience, and proficiency in this field. However, a good Web Developer will have profound working skills in any of the following technologies: • HTML • CSS • JavaScript • SQL • Python • PHP
Question:- What is the difference between cookies and local storage?
Answer:- Cookies • Cookie data is accessible for both the client and the server • Cookies have an expiry time, and data gets deleted post expiration Local Storage • Data is stored only on the local browser in the client-side machine • There is no expiry in local storage unless the data is manually deleted
Question:- What is the difference between XHTML and HTML?
Answer:- XHTML • Tags should be in lowercase • Tags should be closed once opened • Attributes must be enclosed in double quotes HTML • It is not case sensitive • Open-ended tags can be used • Attributes can be used without quotation marks
Question:- What are the various data types present in JavaScript?
Answer:- JavaScript supports the following data types: • Boolean • Number • Object • Undefined • Null • String • Function
Question:- What are the types of popup boxes present in JavaScript?
Answer:- There are three types of dialog boxes, which are used in JavaScript: • Alert: Presents users with a message and an Ok button • Confirm: Gives the users a window with Ok and Cancel buttons • Prompt: Shows the user input, alongside Ok and Cancel buttons
Question:- What is the difference between < window.onload> and < onDocumentReady>?
Answer:- The < window.onload> event is not called until a page is completely loaded with the entire styling from CSS and images. The event does add a bit of delay when rendering a web page. With the < onDocumentReady> event, it will wait only till the DOM is initialized and will begin the event action. This ensures to reduce any delays in actions.
