Question 51
Which CSS unit is relative to the font-size of the root <html> element?
rem stands for 'root em', which is relative to the root element (<html>) font size, whereas em is relative to the parent element's font size.
Which CSS unit is relative to the font-size of the root <html> element?
rem stands for 'root em', which is relative to the root element (<html>) font size, whereas em is relative to the parent element's font size.
In JavaScript, what will console.log(1 + '2'); output?
The plus (+) operator triggers string concatenation when one of the operands is a string, coercing 1 to '1' and resulting in '12'.
Which PHP session function must be called before storing session variables?
session_start() creates a session or resumes the current one based on a session identifier passed via a GET/POST request or cookie.
In CSS flexbox, which property defines the main alignment axis of flex items?
flex-direction establishes the main-axis, defining the direction flex items are placed in the flex container (row or column).
Which CSS property distributes space between items along the main axis of a flex container?
justify-content defines how the browser distributes space between and around content items along the main axis of a flex container.