+ 1
Av been trying js script on my index.php page but its not working . pls can someone help me out?
<!DOCTYPE html> <html> <head> <link rel='stylesheet' type="text/css" href="main.css"/> <script src="https://code.jquery.com/jquery-3.0.0.js"></script> <script src="https://code.jquery.com/jquery-migrate-3.0.0.js"></script> <script> $(document).ready(function() { $("#log").submit(function() { var username = $("#username").val(); var password = $("#password").val();
3 Réponses
+ 1
I don't get you what do u mean by its incomplete
+ 1
<html> needs a </html>
<head> needs a </head>
etc...
i think you should learn the basics of html code and come back later to mixing different languages. once you know how the different tags work it becomes much clearer and simpler (and more fun) with html. when building a house you start with pen and paper...
there are many tutorials online, just google. :)
0
what to do you want to work from it?
its incomplete, you didn't close script and also this page doesn't have any html thing so it wont show on browser