Google News
UI Developer Interview Questions
CSS (Cascading Style Sheets) is the language for defining styles for the Web pages, including colours, layout, and fonts. With CSS, one can define the layout and variations in display for different devices and screen sizes(laptop, tablet, mobile).
CSS can be used with any XML-based markup language, and it is independent of HTML.
JavaScript is a lightweight interpreted programming language with object-oriented capabilities. With JavaScript, we can make static HTML pages interactive. JavaScript is most widely used for front-end development like AngularJS and ReactJS. It is also used in back-end development like Node.js, Next.js, NestJS, etc.
Some of the important JavaScript features are :
* JavaScript is a lightweight interpreted programming language.
* JavaScript was designed to make network-centric applications.
* JavaScript integrates with Java and complements it.
* JavaScript integrates with HTML and complements it.
* JavaScript is a cross-platform and open programming language.
3 .
What are the limitations when serving XHTML pages?
Perhaps the biggest issue is the poor browser support XHTML currently enjoys. Internet Explorer and a number of other user agents cannot parse XHTML as XML. Thus, it is not the extensible language it was promised to be.
4 .
How do you make comments without text being picked up by the browser?
Comments are used to explain and clarify code or to prevent code from being recognized by the browser. Comments start with "*" and end with " –>".
A window object has properties such as inner width, inner height, length, whether it was previously closed, its parent, and its name. The window is the first thing loaded into the browser. 

The document object is defined as any document that gets loaded inside the window object, such as HTML, ASPX, or PHP, and has properties such as cookies, title, and URL, to name a few.
Hoisting is a mechanism where assigned variables and function declarations get moved or “hoisted” to the top of their scope before executing code. Therefore, no matter where functions and variables are declared, they get moved to the top of their range regardless of whether their scope is local or global.
These can be explained as follows :   
Local storage allows data storage with no expiration date and offers the most substantial maximum storage limit.

Session storage stores the data associated with a session. When the user closes the tab or browser, the data disappears.

Cookies are reserved mostly for server-side reading, storing data sent back to the server. The data size must be less than 4KB.
* JavaScript’s server interaction is less. It is easier to validate user input before the page is sent off to the server.

* JavaScript provides immediate feedback to visitors. Users do not need to wait for the page to reload to know if they forgot to enter something.

* JavaScript enhances interactivity. Users can create interfaces that interact with the cursor or keyboard.
9 .
Is JavaScript a case-sensitive language?
Yes, JavaScript is a case-sensitive language. Case sensitive here implies that all function names, identifiers, and variables have to follow the right capitalization of letters at all times.
Below is an example of how to create an object in Javascript : 
var example_object = 
         name: "ramana",
         age: 31
         height: 162