

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























Correct Answer: C Rationale: The color property specifies the color of text.
A. bgcolor B. color C. background-color D. background Correct Answer: C Rationale: background-color defines the background color of an element.
D. opacity: 0 Correct Answer: A Rationale: display: none removes the element from the layout flow.
B. C. D. Correct Answer: A Rationale:
defines a paragraph.
Rationale: JSON.stringify() converts objects into JSON strings.
Rationale: Single-line // and multi-line /* */ are valid comments in JS.
Rationale: pop() removes the last element; push() adds to the end.
B. push() C. splice() D. unshift() Correct Answer: A Rationale: concat() returns a new array combining arrays or values.
A. has() B. includes() C. find() D. indexOf() Correct Answer: B Rationale: includes() returns true if the array contains the specified value.