Sara is creating a form that lets a user create a username and password that will be sent to a database. A user will log on to the company intranet with these credentials. What will Sara use to store the username and password until it is received by the database?

Advanced HTML Part 3

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Salam Shuhaiber
FREE Resource
Student preview

21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Events
Properties
Variables
Methods
Answer explanation
A variable is a named space of memory. It is a container that allows you to store a value, which you can then access repeatedly and use as needed in your script. Like many other programming languages, JavaScript allows you to declare variables and use their stored values.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Val has been asked to use the pattern attribute on an <input type=”url”> element. The pattern needs to verify that either "http://" or "https://" is included in the input along with one more character. What value would be the best choice for Val to use?
"https?:.+"
"https?://.+"
"http://.+"
"https?://"
Answer explanation
Using the HTML5 pattern attribute with a value of "https?://.+" ensures that user input into the field includes either "http://" or "https://" and at least one more character.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
no bookmarked, confident, or note marked
Question 3 :
Jade put a prompt() method in a webpage that is activated by an event handler. What behavior will a user experience with this method?
A pop-up box requesting that the user confirm a message by clicking OK (yes) or Cancel (no).
A pop-up box displaying a message that the user can dismiss by clicking OK.
A pop-up box with a text field, along with a message asking the user for input.
A message specified by the developer that is written directly on the webpage.
Answer explanation
The prompt() method creates a pop-up box with the specified message string and requests user input into a text field in the box.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Marketing wants all buttons on the website to reflect the user’s operating system standard. How can the web team complete this task?
Apply the appearance property to the buttons.
Apply the border property to the buttons.
Apply the outline property to the buttons.
Apply the border-box property to the buttons.
Answer explanation
The appearance property makes an element look like a standard user interface element, such as a button or window.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The web team is discussing user interface (UI) elements. They want to improve how they use CSS3 properties to format these items. What type of elements are they referring to?
Tables and lists
Images and paragraphs
CSS and HTML
Menus and buttons
Answer explanation
Menus and buttons are some of the user interface (UI) elements you can include in a webpage. Although CSS3 does not introduce any new properties specifically for creating menus and buttons, you can use CSS3 properties and techniques to develop these advanced and very useful tools in your webpages.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sue wants to know how to call the myChoice function. Which of the following should she use?
myChoice(;)
var myChoice(1,2)
initiate myChoice(3)
myChoice(a)
Answer explanation
Calling a function can be performed from one function to another, from a user event, or from a separate <script> block.
The code myChoice(a) will call a JavaScript function without error.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The web team has created JavaScript functions that perform common tasks. A developer will copy a function definition that they want to use into a script block. What must the developer do to execute the function?
Use a conditional statement.
Use a calling statement.
Use a looping statement.
Use a switch statement.
Answer explanation
A function's statements are processed when the function is called by a calling statement. A calling statement is a statement that transfers program execution to a subroutine, procedure, or function.
Create a free account and access millions of resources
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
43 questions
LinkIt Test - 24-25_BM4_7th

Quiz
•
7th Grade
6 questions
Final Exam: Monster Waves

Quiz
•
6th Grade