REVATURE FINAL SCRIPT 2026 QUESTIONS
AND ANSWERS GRADED A+
◉What is a wireframe? Answer: A visual guide that represents the
skeletal framework of a website. Wireframes are created for the
purpose of arranging elements to best accomplish a particular
purpose.
◉What are HTML form methods? Answer: Specifies which http
protocol should be used when submitting form data. The options are
Get and Post.
◉What is the box model? Answer: A box that wraps around every
HTML element. It consists of: margins, borders, padding, and the
actual content.
◉How can you open a link in a new tab/browser window? Answer:
<a href="url" target="_blank">
◉What is the correct HTML for making a drop-down list? Answer:
the <select> element
◉Which input type defines a slider control? Answer: <input
type="range">
,◉Which HTML element is used to display a scalar measurement
within a range? Answer: The <meter> element
◉What is the syntax for referring to an external style sheet?
Answer: <link rel="stylesheet" type="text/css" href="mystyle.css">
◉Which CSS property is used to change the text color of an element?
Answer: color
◉How do you make each word in a text start with a capital letter?
Answer: text-transform: capitalize;
◉What is the javascript syntax to change an element of an HTML
page? Answer: document.getElementById("demo").innerHTML =
"Hello World!";
◉When using the padding property; are you allowed to use negative
values? Answer: No
◉How do you select all p elements inside a div element? Answer:
div p;
, ◉What is the syntax for creating a javascript array? Answer: var
colors = ["red", "green", "blue"];
◉What is a list, set, and map? When should you use each? Answer:
List interface is a ordered collection that allows duplicate and null
values. We can get elements by index.
When there is a need to access elements frequently using the index,
or when you want the elements stored to maintain the insertion
order then use list.
A Set is an unordered collection that won't allow duplicate elements.
It allows null elements, but we can't get elements by key or index .
When the collection should be of unique elements and no duplicates
are tolerated, then go with "Set"
.
Map interface is a unordered collection that allows duplicate
elements but not duplicate keys. It allows null elements but not null
keys.
When the data stored should be in the form of key and value then
use map.
AND ANSWERS GRADED A+
◉What is a wireframe? Answer: A visual guide that represents the
skeletal framework of a website. Wireframes are created for the
purpose of arranging elements to best accomplish a particular
purpose.
◉What are HTML form methods? Answer: Specifies which http
protocol should be used when submitting form data. The options are
Get and Post.
◉What is the box model? Answer: A box that wraps around every
HTML element. It consists of: margins, borders, padding, and the
actual content.
◉How can you open a link in a new tab/browser window? Answer:
<a href="url" target="_blank">
◉What is the correct HTML for making a drop-down list? Answer:
the <select> element
◉Which input type defines a slider control? Answer: <input
type="range">
,◉Which HTML element is used to display a scalar measurement
within a range? Answer: The <meter> element
◉What is the syntax for referring to an external style sheet?
Answer: <link rel="stylesheet" type="text/css" href="mystyle.css">
◉Which CSS property is used to change the text color of an element?
Answer: color
◉How do you make each word in a text start with a capital letter?
Answer: text-transform: capitalize;
◉What is the javascript syntax to change an element of an HTML
page? Answer: document.getElementById("demo").innerHTML =
"Hello World!";
◉When using the padding property; are you allowed to use negative
values? Answer: No
◉How do you select all p elements inside a div element? Answer:
div p;
, ◉What is the syntax for creating a javascript array? Answer: var
colors = ["red", "green", "blue"];
◉What is a list, set, and map? When should you use each? Answer:
List interface is a ordered collection that allows duplicate and null
values. We can get elements by index.
When there is a need to access elements frequently using the index,
or when you want the elements stored to maintain the insertion
order then use list.
A Set is an unordered collection that won't allow duplicate elements.
It allows null elements, but we can't get elements by key or index .
When the collection should be of unique elements and no duplicates
are tolerated, then go with "Set"
.
Map interface is a unordered collection that allows duplicate
elements but not duplicate keys. It allows null elements but not null
keys.
When the data stored should be in the form of key and value then
use map.