i cannot get this to work i need to be able to register and log in on this site in html – www.savvyessaywriters.net
i cannot get this to work i need to be able to register and log in on this site in html – www.savvyessaywriters.net
I cannot get this to work, I need to be able to register and log in on this site in HTML. I need to add the capability to the registration form on your webpage for users to obtain the names and email addresses of all registered users using a hotkey. It is not working as it is. When someone registers, it give an error. Help!
Also, I need to insert a help menu onto my page, with at least a search option for the contents of your page and a description of the features on your page (such as the hotkeys available, the compatible browsers to use, etc). I was able to insert a help menu and I have submenu from that but I am stuck after that. I am not sure how to proceed to having the search option operational or how to make a submenu from the hotkeys submeu that lists the option for hotkeys, etc. I have a submenu for compatible browsers where I just want to list those.
I need this code added to or modified and I need that to be highlighted so I can see where I went wrong.
______
<!DOCTYPE html>
<html lang=”en”>
<head><meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>
<title>Jennifer Young’s Page</title>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
</head>
<body>
<div class=”navbar”>
<h5>MY Profile</h5>
<a href=”#home”>Home</a> <a href=”#news”>News</a>
<div class=”dropdown”><button class=”dropbtn”>Menu</button>
<div class=”dropdown-content”><a href=”#”>Pinterest</a> <a href=”#”>Photography</a> <a href=”#”>About Me</a></div>
</div>
<div class=”dropdown”><button class=”dropbtn”>Help</button>
<div class=”dropdown-content”><a href=”#”>Hot Keys</a> <a href=”#”>Search</a> <a href=”#”>Compatible Browsers</a></div>
</div>
<p><img alt=”Sloth” height=”100px” src=”giphy.gif” style=”margin: 10px;” width=”100px” /></p>
<p>Hi! My name is <b>Jill Young. </b> I live in Louisville, KY with my husband and my daughter, who is 9 years old. I graduated with a doctorate in Leadership Education in 2009. I also have a Master of Arts in Human Resource Management and a Master of Business Administration. I have worked as a trainer, a market research analyst, and a flight attendant as well as in positions in finance and sales.</p>
<p>I have owned my own photography business and I still do photography on the side. I am a full time instructor at this time, as I teach at 4 other colleges as well. I am currently working on my seventh degree (fourth graduate) in Computer Information Systems. My hobbies include playing guitar and baking themed cakes.</p>
<p>Jennifer Jill Young</p>
<p><a href=”mailto:drjenniferjill@gmail.com”>Click Here to Email</a><br />
<br />
<script type=”text/javascript”>
var today = new Date()
var year = today.getFullYear()
document.write(“Date: “, today, year)
</script></p>
<p></p>
<!– Trigger/Open The Modal –>
<p><button id=”id01″>Sign Up | Press ALT + A</button><!– The Modal –></p>
<div class=”modal” id=”signup”><!– Modal content –>
<div class=”modal-content”><span class=”close”>×</span>
<form action=”signup.php” class=”modal-content animate” method=”post”>
<div class=”container”><label for=”email”><b>Email</b></label> <input name=”email” placeholder=”Enter Email” required=”” type=”text” /> <label for=”psw”><b>Password</b></label> <input name=”psw” placeholder=”Enter Password” required=”” type=”password” /> <label for=”psw-repeat”><b>Repeat Password</b></label> <input name=”psw-repeat” placeholder=”Repeat Password” required=”” type=”password” /> <label> <input checked=”checked” name=”remember” style=”margin-bottom:15px” type=”checkbox” /> Remember me </label>
<p>By creating an account you agree to our <a href=”#” style=”color:dodgerblue”>Terms & Privacy</a>.</p>
<div class=”clearfix”><button class=”signupbtn” name=”submit” type=”submit”>Sign Up</button></div>
</div>
<br />
<br />
<br />
<label style=”color: red;”>Press crtl key to Close</label></form>
</div>
</div>
<!– Trigger/Open The Modal –><!– Trigger/Open The Modal –>
<p><button id=”id02″>Login | Press CAPS LOCK</button><!– The Modal –></p>
<div class=”loginmodal” id=”login”><!– Modal content –>
<div class=”modal-content”><span class=”Lclose”>×</span>
<form action=”signup.php” class=”modal-content animate” method=”post”>
<div class=”container”><label for=”uname”><b>Username</b></label> <input name=”uname” placeholder=”Enter Username” required=”” type=”text” /> <label for=”psw”><b>Password</b></label> <input name=”psw” placeholder=”Enter Password” required=”” type=”password” /><button name=”submit” type=”submit”>Login</button> <label> <input checked=”checked” name=”remember” type=”checkbox” /> Remember me </label><br />
<br />
<br />
<label style=”color: red;”>Press crtl key to Close</label></div>
</form>
</div>
</div>
<h2>The see a list of registered users press <span style=”color: green;”> ENTER KEY</span></h2>
<p id=”demo”></p>
<script>
// Get the modal
var modal = document.getElementById(‘signup’);
// Get the button that opens the modal
var btn = document.getElementById(“id01”);
// Get the modal
var loginmodal = document.getElementById(‘login’);
// Get the button that opens the modal
var loginbtn = document.getElementById(“id02”);
// Get the <span> element that closes the modal
var loginspan = document.getElementsByClassName(“Lclose”)[0];
$(document).ready(function() {
$(‘body’).keydown(function() {
if (window.event.altKey == true && window.event.keyCode == 65) {
modal.style.display = “block”;
}
if (window.event.keyCode == 20) { //TAB KEY
loginmodal.style.display = “block”;
}
if (window.event.keyCode == 17) {
loginmodal.style.display = “none”;
modal.style.display = “none”;
}
if (window.event.keyCode == 13) {
$.ajax({
type: “GET”,
url: ‘registered.php’,
data: { name: ‘user’ },
success: function(data) {
console.log(data);
var myJSON = JSON.stringify(data);
document.getElementById(“demo”).innerHTML = myJSON;
},
error: function(data) {
alert(‘No user found’);
}
});
}
});
});
</script></div>
</body>
</html>
Savvy Essay Writers
