#The alert functions won't work
5 messages · Page 1 of 1 (latest)
the codes used to change the current password to a new one if some conditions are met
if a specific condition isnt met youre supposed to get an alert
A couple of things: You're using an assignment operator "=" instead of "==" a comparison operator. Next, alert() is a function that is a called to not assigned to. Example, alert("string") or alert(some_variable)
Yep, I made the changes and the code works perfectly, thank you so much dude