Question 26
Which JavaScript method converts a JSON string into a JavaScript object?
JSON.parse() parses a JSON string and constructs the JavaScript value or object described by the string.
Which JavaScript method converts a JSON string into a JavaScript object?
JSON.parse() parses a JSON string and constructs the JavaScript value or object described by the string.
Which CSS layout model allows easy alignment and distribution of space among items in a container?
Flexible Box Layout (Flexbox) provides a 1D layout model for distributing space and aligning items in a container.
Which HTML element is used to play video files on a webpage without plugins?
HTML5 introduced the native <video> tag to embed video media directly into webpages.
What is the default value of the CSS 'position' property?
HTML elements are positioned static by default, meaning they follow the normal page flow.
In PHP, which function returns the length of a string?
The strlen() function in PHP returns the length of a string in characters/bytes.