Repository navigation
Conversation
sarlam
approved these changes
Nov 17, 2026
sarlam
left a comment
There was a problem hiding this comment.
This is a spotless work, really good work here
Optionally if you want to be challenged I can propose you two other challenges for you to think about, you do not have to do them or push the code, it is just to keep your skills sharp:
Task 2
- I would like you to imagine that you now have 1000 of users and password, how would it change your code?
- more difficult, as of now we count for 4 attempts overall, could you think of a way to count 4 attempts on a specific username (so if I try 4 times with
adminI can no longer try with it but I can try withuser). How would it change the code
Task 3
- What would happen if you had to implement not one new feature but 20?
You do not have to implement any of those, it is just to challenge you to think a bit more about your code and its limits
Great work
There was a problem hiding this comment.
This is perfect, kudos on the readability of the code, it is super clear, we can see the data, the successful logic and the failure in one go thanks to the grouping
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.