How do I make a username detector? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I make a username detector?

How do I make a username detector in JS?

5th Aug 2022, 12:44 PM
MyNameIsNotBob
MyNameIsNotBob - avatar
2 Answers
+ 1
What do you want it to do? Confirm that a username exists? You could create an array of existing usernames and then iterate through that once the user has input their entry.
5th Aug 2022, 3:29 PM
Ausgrindtube
Ausgrindtube - avatar
0
Ausgrindtube I want it to be able to accurately detect a user’s username to use.
5th Aug 2022, 3:30 PM
MyNameIsNotBob
MyNameIsNotBob - avatar