Filter interviews by
I applied via Naukri.com and was interviewed in May 2021. There was 1 interview round.
Position relative and absolute are CSS properties used for positioning elements on a webpage.
Position relative: element is positioned relative to its normal position in the document flow.
Position absolute: element is positioned relative to its nearest positioned ancestor.
Position absolute takes the element out of the normal document flow.
Position relative can be used to create subtle adjustments to an element's positio...
Tags are used to define the structure of an element in HTML, while elements are the actual components that make up a webpage.
Tags are enclosed in angle brackets (<>) and define the beginning and end of an element.
Elements consist of the opening tag, content, and closing tag.
Example: <p> is a tag that defines a paragraph element, while <p>This is a paragraph</p> is the complete paragraph element.
Use 'for' attribute in label tag to associate with checkbox id
Add 'for' attribute in label tag with value as the id of the checkbox input element
Clicking on the label will toggle the checkbox state
Box model is a fundamental concept in CSS that defines how elements are rendered on a web page.
Box model consists of content, padding, border, and margin.
Content is the actual content of the element.
Padding is the space between the content and the border.
Border is the line that surrounds the element.
Margin is the space between the border and the adjacent elements.
Box-sizing property can be used to change the box model ...
Flexbox is one-dimensional layout while Grid is two-dimensional layout.
Flexbox is best suited for arranging items in a single row or column.
Grid is best suited for arranging items in rows and columns.
Flexbox has a main axis and a cross axis.
Grid has rows and columns that intersect to form grid cells.
Flexbox is great for responsive design and centering items.
Grid is great for complex layouts and aligning items precisely...
SCSS is used to write more maintainable and scalable CSS code.
SCSS allows for nesting of CSS rules, making it easier to read and organize code.
Variables and mixins in SCSS can be reused throughout the codebase, reducing redundancy.
SCSS also supports inheritance, allowing for more efficient and modular code.
It compiles to regular CSS, so it can be used in any web project.
SCSS is widely used in modern web development fra
Mixin is a reusable block of code in SCSS that can be included in other stylesheets.
Mixin allows developers to define a set of CSS declarations that can be reused throughout the stylesheet.
It helps in reducing code duplication and makes the code more maintainable.
Mixin can take arguments and can be used to generate different styles based on the arguments passed.
Mixin can be defined using the @mixin directive and includ
SCSS provides benefits like variables, nesting, mixins, and inheritance to make CSS more efficient and maintainable.
SCSS allows for the use of variables, which can be reused throughout the stylesheet.
Nesting in SCSS makes it easier to read and organize code.
Mixins allow for the reuse of code snippets, reducing the amount of code needed.
Inheritance in SCSS allows for the creation of base styles that can be extended and ...
Viewport is the visible area of a web page displayed on a device's screen.
Viewport determines how much content can be seen without scrolling
It can be adjusted using meta tags in HTML or CSS media queries
Viewport size varies depending on the device and orientation
Viewport can affect the layout and responsiveness of a website
Meta tags in HTML are used to provide metadata about the HTML document.
Meta tags are placed in the head section of an HTML document.
They provide information such as character set, viewport settings, keywords, and description.
Meta tags can also be used for search engine optimization (SEO) purposes.
Example: <meta charset='UTF-8'>
A webpage can be made responsive by using media queries, flexible grids, and images, and by optimizing the layout for different devices.
Use CSS media queries to adjust the layout based on screen size
Use flexible grids and images that can scale to fit different screen sizes
Optimize the layout for touch devices by using larger buttons and spacing
Test the responsiveness on different devices and adjust as needed
No, media queries are necessary for responsive design.
Media queries are used to apply different styles based on screen size
Without media queries, the design would not adapt to different devices
Responsive design is essential for a good user experience
Use CSS variables to define colors and switch between themes based on user preference.
Define CSS variables for light and dark theme colors
Use JavaScript to detect user preference for light or dark theme
Switch between themes by updating CSS variables with JavaScript
Consider using a toggle button or system preference to allow users to switch themes manually
Rate your
company
🤫 100% anonymous
How was your last interview experience?
Top trending discussions
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Nov 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 6 interview rounds.
I applied via Referral and was interviewed before Jan 2021. There were 5 interview rounds.
I applied via Approached by Company and was interviewed before Oct 2021. There were 2 interview rounds.
I have X years of domain experience.
I have worked in this domain for X years.
During my time in this domain, I have gained expertise in various areas such as...
I have worked on projects related to...
I have experience working with clients in this domain.
I keep myself updated with the latest trends and developments in this domain.
Anonymously discuss salaries, work culture, and many more
Get Ambitionbox App
based on 1 review
Rating in categories
Senior UI Developer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Accenture
Wipro
Cognizant