Skip to content

why repeat your self in signup.js #31

@Walidmash

Description

@Walidmash

password.style.border = '1px solid #0F0';

you could make a class for error case , and then added and remove it while validation,
so you can have multiple styles for error case
password.classList.add = 'error';
or
password.classList.remove = 'error'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions