Clases Diego: Guardar Opciones

by Marventus

HTML

<form id="signupForm">
    <label for="firstName">
        <span>First Name:</span>
        <input id="FirstName" type="text" />
    </label>
    <label for="lastName">
        <span>Last Name:</span>
        <input id="LastName" type="text" />
    </label>
    <label for="emaiAddress">
        <span>Email Address:</span>
        <input id="emailAddress" type="email" />
    </label>
    <label for="emailSubscription">
        <span>Subscribe to Newsletter?</span>
        <input id="emailSubscription" type="checkbox" />
    </label>
</form>

<button>Save Settings</button>

CSS

form {
    font: normal 13px Verdana, Georgia, sans-serif;
    width: 300px;
}

span,
label {
    display: block;
    width: 100%;
}

label, button {
    margin-top: 1em;
}

JavaScript

//