Skip to content

Conversation

@pavel-tisner
Copy link

No description provided.

Copy link

@rafaelhdr rafaelhdr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exercise is working great. It was nice to see the improvement of the exercise, and it was easy to review it. Congratulations 👏

errorMessage("Incorrect credentials");
incorrectAttempts += 1;
if (incorrectAttempts > 3) {
loginButton.disabled = true;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a good improvement idea. Unfortunately, it doesn't work, because app.js enables it again at line 41 (loginButton.disabled = true;)

But don't worry about it. It is more than the exercise was asking for, and nice to see the improvement :)

@rafaelhdr rafaelhdr self-assigned this Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants