Makes sense to me, although it might be a good idea to add e.preventDefault(); inside the click() listener for that tag. That way, a user could open the login page in a new tab if they wanted, or click normally and see the form.
Ok I see. Are there any more problems? Let me try what it well do in the preview.(sometime later)Ok, it still isn't working. By the way I also followed emgo_dev's advice of changing 'Sign In' to plain text.Also, I am using the Brackets Editor, one good thing about it is that they can preview the results of an Html page into a browser window.
Wait, I never told you would I wanted to do right? Well I the user to be able to click the sign in button and then a drop down for the sign in comes down).
In case anybody needs the pen again(I also did some switching around).
The sign-in would either use cookies/session, a database/php, or you could write a userās registered information to a file with php and retrieve that file text depending on their cookie, or the credentials they use to sign in with.
The most practical method that everyone uses is a database. User information is stored in a table.[quote=āprintcoder_eric, post:53, topic:18477, full:trueā] @emgo_devYou mean an SQL database?
[/quote]
Yes
indicates to me the file is on your computer, which works fine on your computer, but not on codepen, codepen canāt access this, if it could, everyone could just access your computer from the internet, lets say that would be a tiny security problem
edit, hold on, i am stupid. Guess i havenāt used windows in a while. The source should be C:\Users\ericā¦
windows use backslash (i could make a horrible joke here), so the path should contain backslashes.
Well, given you use windows i recommend xampp, this will give you a webserver in your lan with database + php, then you just need to learn it. php is server side language, you need something to make it work. xampp is a good start
Assuming MySQL, the only way to manipulate itās data is with itās own queries. To do so externally you use a language that bridges the connection. PHP has features built in that allow you manage a database. There are tutorials available for how to do this, but itās not something I would explain.
@emgo_dev, i am personally not a huge fan of w3fools, and some people here nail it why. For example, it took ages to update there php statements to prepared statements, which is a must for security reasons