please review my code LINK
my compareGuesses function is not working to the desired output when checking which number is nearest to the target number and i dont know why
And if possible i would like to know to how and where to restrict 0-9 input with alert(’ invalid input ')
By the looks of it, that workspace is private so we cannot access it, you’ll have to update the privacy settings on the workspace first
sorry for the inconvenience
i changed it to public share
the link is
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.