In my web app, everytime the user tries to loggin, my back-end code verifies if the password is equal to the one in the database, and does it correctly. What I want is, when the pass incorrect, display a message saying it is incorrect below the password box(see image), just like the image attached. I do not want to reload the page, but do it dinamically. I am using html and node js for back end, as well as mysql for database. The html, css and js code are in the links below: https://pastebin.com/QckNb1gc ----> HTML https://pastebin.com/zuv2m8NH ----> javascript code https://pastebin.com/TRHU6E9y ----> css code IF WANTED, THIS IS THE FOLDER WITH ALL THREE FILES https://drive.google.com/drive/folders/1ACA-Jmy7Gm8txYH828KNtj8yanKkXPUN?usp=sharing
In my web app, everytime the user tries to loggin, my back-end code verifies if the password is equal to the one in the
https://pastebin.com/QckNb1gc ----> HTML
https://pastebin.com/zuv2m8NH ----> javascript code
https://pastebin.com/TRHU6E9y ----> css code
IF WANTED, THIS IS THE FOLDER WITH ALL THREE FILES
https://drive.google.com/drive/folders/1ACA-Jmy7Gm8txYH828KNtj8yanKkXPUN?usp=sharing
Step by step
Solved in 2 steps