Category: All Interview Questions
-
What is the difference between Bootstrap 3 and Bootstrap 4
PARAMETER BOOTSTRAP 3 BOOTSTRAP 4 Grid System 4 tier grid system (xs, sm, md, lg). 5 tier grid system (xs, sm, md, lg, xl). CSS File LESS SASS Button Size Bootstrap 3 supports .btn-xs class. Only .btn-sm and .btn-lg are available in bootstrap 4. Horizontal Form We do not need a .row class using a…
-
What is the difference between Bootstrap 4 and Bootstrap 5
PARAMETER BOOTSTRAP 4 BOOTSTRAP 5 Grid System 5 tier grid system(xs, sm, md, lg, xl). 6 tier grid system(xs, sm, md, lg, xl, xxl). Color It has limited colors. Extra colors have been added with the looks. Jquery It has jQuery along with all the related plugins. Jquery is removed and it has switched to…
-
What do you know about the Bootstrap Grid System?
The Bootstrap Grid System is a mobile-first, responsive grid system that scales up to 12 columns as the device or viewport size grows. Predefined classes for quick layout options and powerful mix-ins for creating successful semantic layouts are included in the system. There are five classes in the Bootstrap 4 grid system: The classes listed…
-
What are the default Bootstrap text settings?
The default font size in Bootstrap 4 is 16px, with a line-height of 1.5. The default font family is “Helvetica Neue,” which includes Helvetica, Arial, and other sans-serif fonts. Margin-top: 0 and margin-bottom: 1rem are also set on all <p> elements (16px by default).
-
What is a Bootstrap Container, and how does it work?
A bootstrap container is a handy class that generates a central region on the page where we can put our site content. The bootstrap .container has the advantage of being responsive and containing all of our other HTML code. Containers are used to pad the content within them, and there are two types of containers:
-
How would you read a cookie?
Reading a cookie using JavaScript is also very simple. We can use the document.cookie string that contains the cookies that we just created using that string. The document.cookie string keeps a list of name-value pairs separated by semicolons, where ‘name’ is the name of the cookie, and ‘value’ is its value. We can also use…
-
What do you understand about cookies?
Fig: Browser cookies A cookie is generally a small data that is sent from a website and stored on the user’s machine by a web browser that was used to access the website. Cookies are used to remember information for later use and also to record the browsing activity on a website.
-
What are the ways of adding JavaScript code in an HTML file?
There are primarily two ways of embedding JavaScript code: