Professional Documents
Culture Documents
CSS Viva
CSS Viva
2] what is a javascript ?
> javascript is a object orineted language used by developers to make web
page interactive .
3] data types in js ?
> undefined , null , boolean , string , symbol , number ,etc
6] what is variables ?
> variables are containers for storing data eg : var , let , const
8] what is callback ?
> a callback is plain js function passed to some method as an
argument or option
=== checks if values are equal, but it doesn't convert types. Both value and
type must be the same for it to be true.
Selectors in CSS are patterns that are used to select and style HTML elements.
Universal Selector (*):
16]
What is the CSS Box Model?
Explain the properties of the Box Model (margin, border, padding, content). ?
>
The CSS Box Model is a fundamental concept that defines the structure and
layout of HTML elements on a web page.
Content:
The innermost part of the box represents the actual content of the HTML
element, such as text, images, or other media.
Padding:
Surrounding the content, there is a padding area. Padding is the space
between the content and the border.
16] Explain the concept of media queries.
>
Media queries in CSS are a powerful tool that allows you to apply styles
to a webpage based on various characteristics of the user's device, such
as screen width, height, resolution, or device