WGU C777 WEB DEVELOPMENT STUDY EXAMS
LATEST QUESTIONS AND ANSWERS SURE A+
✔✔required - ✔✔Ensures the field must be filled before submission.
✔✔placeholder - ✔✔Displays a short hint describing the expected value.
✔✔pattern - ✔✔Specifies a regular expression for input validation.
✔✔min/max - ✔✔Define numeric or date ranges.
✔✔step - ✔✔Sets the increment for numeric or range input.
✔✔readonly - ✔✔Makes the field non-editable.
✔✔disabled - ✔✔Disables the field entirely.
✔✔action - ✔✔Specifies the URL to which the form data will be sent.
✔✔method - ✔✔Defines the HTTP method used to send form data (e.g., GET or
POST).
, ✔✔autocomplete (form) - ✔✔Enables or disables autocomplete for all fields within the
form.
✔✔autocomplete (input) - ✔✔Enables or disables autocomplete for that specific field.
✔✔autocomplete - ✔✔Provides suggestions based on the browser's saved data (e.g.,
previously entered values).
✔✔<datalist> - ✔✔Provides predefined, developer-specified suggestions.
✔✔<button type="submit"> - ✔✔Submits the form.
✔✔<button type="reset"> - ✔✔Resets form fields to their initial values.
✔✔<button type="button"> - ✔✔A generic button that performs no default action but can
be programmed via JavaScript.
✔✔<label> - ✔✔Associates a text label with a form control for better accessibility.
✔✔<fieldset> - ✔✔Groups related form controls and elements together.
✔✔<legend> - ✔✔Provides a caption or title for a <fieldset>.
✔✔DOM - ✔✔The Document Object Model (DOM) is a programming interface that
represents the structure of an HTML or XML document. It allows developers to interact
with and manipulate elements, styles, and content of a web page dynamically using
JavaScript.
✔✔Canvas Creation - ✔✔To create a canvas and draw a line, use the HTML <canvas>
element and JavaScript to access the canvas context and draw with methods like
beginPath(), moveTo(), lineTo(), and stroke().
✔✔getContext() - ✔✔The getContext() method provides access to the rendering context
of a <canvas> element, which defines what kind of drawing can be done.
✔✔Available contexts for getContext() - ✔✔2d: For two-dimensional graphics. webgl or
webgl2: For three-dimensional graphics using WebGL. bitmaprenderer: For fast pixel-
based rendering.
✔✔Manifest File - ✔✔A manifest file provides metadata about a web application,
including its name, icons, start URL, theme colors, and display mode. It is used primarily
in Progressive Web Apps (PWAs) to enhance user experience, allowing apps to be
installed and run like native applications.
LATEST QUESTIONS AND ANSWERS SURE A+
✔✔required - ✔✔Ensures the field must be filled before submission.
✔✔placeholder - ✔✔Displays a short hint describing the expected value.
✔✔pattern - ✔✔Specifies a regular expression for input validation.
✔✔min/max - ✔✔Define numeric or date ranges.
✔✔step - ✔✔Sets the increment for numeric or range input.
✔✔readonly - ✔✔Makes the field non-editable.
✔✔disabled - ✔✔Disables the field entirely.
✔✔action - ✔✔Specifies the URL to which the form data will be sent.
✔✔method - ✔✔Defines the HTTP method used to send form data (e.g., GET or
POST).
, ✔✔autocomplete (form) - ✔✔Enables or disables autocomplete for all fields within the
form.
✔✔autocomplete (input) - ✔✔Enables or disables autocomplete for that specific field.
✔✔autocomplete - ✔✔Provides suggestions based on the browser's saved data (e.g.,
previously entered values).
✔✔<datalist> - ✔✔Provides predefined, developer-specified suggestions.
✔✔<button type="submit"> - ✔✔Submits the form.
✔✔<button type="reset"> - ✔✔Resets form fields to their initial values.
✔✔<button type="button"> - ✔✔A generic button that performs no default action but can
be programmed via JavaScript.
✔✔<label> - ✔✔Associates a text label with a form control for better accessibility.
✔✔<fieldset> - ✔✔Groups related form controls and elements together.
✔✔<legend> - ✔✔Provides a caption or title for a <fieldset>.
✔✔DOM - ✔✔The Document Object Model (DOM) is a programming interface that
represents the structure of an HTML or XML document. It allows developers to interact
with and manipulate elements, styles, and content of a web page dynamically using
JavaScript.
✔✔Canvas Creation - ✔✔To create a canvas and draw a line, use the HTML <canvas>
element and JavaScript to access the canvas context and draw with methods like
beginPath(), moveTo(), lineTo(), and stroke().
✔✔getContext() - ✔✔The getContext() method provides access to the rendering context
of a <canvas> element, which defines what kind of drawing can be done.
✔✔Available contexts for getContext() - ✔✔2d: For two-dimensional graphics. webgl or
webgl2: For three-dimensional graphics using WebGL. bitmaprenderer: For fast pixel-
based rendering.
✔✔Manifest File - ✔✔A manifest file provides metadata about a web application,
including its name, icons, start URL, theme colors, and display mode. It is used primarily
in Progressive Web Apps (PWAs) to enhance user experience, allowing apps to be
installed and run like native applications.