What is a characteristic of JavaScript code?
JavaScript is a scripting language primarily used for creating and controlling dynamic website content. Here are some characteristics:
Runs Inside a Web Browser: JavaScript code is executed in the web browser, making it possible to create interactive and dynamic web pages.
Cross-Browser Compatibility: JavaScript is designed to be compatible across different web browsers.
Interpreted Language: JavaScript is interpreted, meaning it does not need to be compiled before execution.
Accessible to Users: JavaScript code is not hidden from the user; it can be viewed in the browser's developer tools.
MDN Web Docs on JavaScript
W3C JavaScript Introduction
Which 3D transform affects the distance between the z-plane and the user?
A)

B)

C)

D)

The perspective(n) method in CSS is used to affect the distance between the z-plane and the user, effectively changing the perspective depth of a 3D transformed element.
perspective(n) Method: The perspective function defines how far the element is from the user. It affects the appearance of the 3D transformed element, giving it a sense of depth.
Usage Example:
.container {
perspective: 1000px;
}
In this example, the perspective is set to 1000 pixels, which defines the distance between the z-plane and the user.
Properties:
n: This represents the perspective distance. The lower the value, the more pronounced the perspective effect.
MDN Web Docs on perspective
W3C CSS Transforms Module Level 1
Given the following code:
```html
```
Which type of form validation is used?
> ''The `onsubmit='return validateForm()'` attribute calls a JavaScript function when the form is submitted. If the function returns `false`, submission is prevented.''
>
> This is an example of client-side JavaScript validation. VBScript is outdated and IE-specific; CSS is for styling, and HTML-only validation would not use a JavaScript function.
* MDN Web Docs: HTMLFormElement.onsubmit
* JavaScript Form Validation Guide
---
Given the following CSS code:

Which type of selector is used?
The given CSS code uses the #name selector, which is an ID selector. The ID selector is used to style an element with a specific id attribute.
ID Selector: In CSS, the ID selector is used to style the element with the specific id. The syntax for the ID selector is #id, where id is the id attribute value of the HTML element.
Usage Example:
#name {
text-align: left;
}
This CSS rule will apply the text-align: left; style to the element with id='name'.
ID Selector Characteristics:
An ID must be unique within a document, meaning it can be used only once per page.
ID selectors are more specific than class selectors and element selectors.
Example in HTML:
MDN Web Docs on CSS Selectors
W3C CSS Specification on Selectors
Given the following code:
```javascript
var data;
```
What is the value of `data` when the code runs?
> ''In JavaScript, any variable declared but not assigned a value is automatically set to `undefined`.''
Example:
```javascript
var data;
console.log(data); // undefined
```
* MDN Web Docs: undefined
* JavaScript Guide: Variables
---
Maria Flores
12 days agoDavid Cook
24 days agoMonica Walker
1 month agoRyan Martin
28 days agoMelissa Collins
29 days agoDaniel Hall
1 month agoDonna Scott
22 days agoDeborah Nguyen
17 days agoJina
2 months agoSerina
2 months agoKenneth
2 months agoVeronika
3 months agoKimberlie
3 months agoMoira
3 months agoFelicia
4 months agoKaitlyn
4 months agoKristeen
4 months agoChantay
4 months agoDetra
4 months agoJuan
5 months agoDoretha
5 months agoRochell
5 months agoChristiane
5 months agoGlory
6 months agoLennie
6 months agoAlana
6 months agoJerry
6 months agoTalia
7 months ago