42.33% of the height of the page is visible.
There are 0 <button>, 13
<input>, 4 <a>, 1 <form>
Here is a summary for chunks of the HTML code on the
page:
This code represents an email preferences page using a form to manage subscription settings for a
user. The HTML includes checkboxes within a form (`<form id="form_area">`) to allow users
to select their preferences regarding receiving marketing and operational emails.
- **Checkbox
elements**: Each preference option is represented by a `<label>` containing a `<input
type="checkbox">`, including IDs like `emails`, `offers`, `asks`, `support`, `onlyenergy`,
and `unsuball`.
- **JavaScript functionality**: The script contains event listeners attached to the
checkboxes, which manage mutually exclusive selections. For example, checking the "unsubscribe from
all" box (`unsuball`) automatically unchecks the other options.
- **Form submission**: It
includes a submit button (`<input type="submit" id="submit" value="SAVE
CHANGES">`) that is enabled or disabled based on whether any preferences are selected. The
function `choices_exists()` handles the enabling and disabling logic for the submit button by toggling
display styles of elements with IDs like `valid-choices` and `no-choices-1`.
These mechanisms
collectively enable users to manage their email subscription preferences effectively.
Below is a
screenshot of a webpage from the email Unsubscribe link.