+ 4
Java script
How I make when user click button it shows alert "logged in" when user filled the password and username both otherwise not https://sololearn.com/compiler-playground/WYm2VkTgu5C7/?ref=app
2 ответов
+ 4
You'd need to look up event handling in JavaScript
https://www.sololearn.com/discuss/3096266/?ref=app
https://www.sololearn.com/discuss/2451390/?ref=app
https://www.sololearn.com/discuss/2999955/?ref=app
+ 1
Make the username and password field required
And while clicking on the button make it responsive by '"Onclick(Alert)"' feature