Category: All Interview Questions
-
What are the various data types that exist in JavaScript?
These are the different types of data that JavaScript supports:
-
What’s the difference between JavaScript and Java?
JavaScript Java JavaScript is an object-oriented scripting language. Java is an object-oriented programming language. JavaScript applications are meant to run inside a web browser. Java applications are generally made for use in operating systems and virtual machines. JavaScript does not need compilation before running the application code. Java source code needs a compiler before it…
-
What do you understand about JavaScript?
JavaScript is a popular web scripting language and is used for client-side and server-side development. The JavaScript code can be inserted into HTML pages that can be understood and executed by web browsers while also supporting object-oriented programming abilities.
-
Name some font-related CSS attributes
The font-related attributes are Font- style, variant, weight, family, size, etc.
-
Tell us about the property used for image scroll controlling?
The background-attachment property is used to set whether the background image is fixed or it scrolls with the rest of the page. Example for a fixed background-image: body { background-image: url(‘url_of_image’); background-repeat: no-repeat; background-attachment: fixed; }
-
How can you use CSS to control image repetition?
The background-repeat property is used to control the image. Example: h3 { background-repeat: none; }
-
How can you target h3 and h2 with the same styling?
Multiple elements can be targeted by separating with a comma: h2, h3 {color: red;}