-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignUp.html
85 lines (75 loc) · 4.32 KB
/
signUp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Login</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
</head>
<body>
<style>*{
margin: 10px;
font-family: Arial, Helvetica, sans-serif;
}
body{
background-color: lightblue;
}
</style>
<center>
<h1>Using API</h1>
<!-- <form name="loginForm" onsubmit="myValidation()" method="POST">
First Name:
<input type="text" name="firstName"><br>
Last Name:
<input type="text" name="lastName"><br>
Date of Birth:
<input type="date" name="dob"><br>
Email:
<input type="text" name="email"><br>
password
<input type="password" pattern=".{6,}" title="Six characters or more" name="password"><br>
<input type="submit" value="Sign Up">
</form> -->
<a class="weatherwidget-io" href="https://forecast7.com/en/40d71n74d01/new-york/" data-label_1="NEW YORK" data-label_2="WEATHER" data-theme="original" >NEW YORK WEATHER</a>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='https://weatherwidget.io/js/widget.min.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','weatherwidget-io-js');
</script>
<a data-flickr-embed="true" href="https://www.flickr.com/photos/149824683@N05/38336860644/in/photolist-21pGr2W-fJYsJc-g6LaSS-g6KF7X-GyVaeG-TzEbzd-2hAcV1n-PA4ixX-fJZf18-ULiUVt-9gP6Mr-AxC3fv-cidVzd-29zXamK-mvxguz-2eaeYqH-UEnuDo-25xjF2K-9qJxci-Rn7Ptc-2gkdmSM-ZgnrNM-2cMao6s-LMWkvJ-o6uCEm-TTJe7N-fYLbMP-iF4Tj3-fVFpgX-fVFCgc-fNiiaF-3jnYDE-nJnSHa-rSf6tS-8zx3jS-zzrnTu-oDCXsy-RwWGbD-8ztSFg-9Ed87x-ghz4zQ-2gRarFa-fVFFcy-S5kLRt-bXHnrs-9qMxgh-9qMxnY-qSnBXu-Tj3hzi-2iYab3n" title="HTML 5 Web Application Development In Dubai"><img src="https://live.staticflickr.com/4516/38336860644_f7f1f37c4c.jpg" width="500" height="273" alt="HTML 5 Web Application Development In Dubai"></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
<iframe width="560" height="315" src="https://www.youtube.com/embed/olE86OdKYQs" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d848307.3114549542!2d150.37155973088358!3d-33.8458352969518!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6b129838f39a743f%3A0x3017d681632a850!2sSydney%20NSW!5e0!3m2!1sen!2sau!4v1596957655196!5m2!1sen!2sau" width="600" height="450" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
</center>
<script>
function myValidation(){
// First name Validation
var firstNameInput = document.forms["loginForm"]["firstName"].value;
if(firstNameInput ==""){
alert("Please Enter a First Name");
return false;
}
// Last name validation
var lastNameInput = document.forms["loginForm"]["lastName"].value;
if(lastNameInput ==""){
alert("Please Enter a Last Name");
return false;
}
var dobInput = document.forms["loginForm"]["dob"].value;
if(dobInput ==""){
alert("Please Enter a Date of Birth");
return false;
}
// email validation
var emailInput = document.forms["loginForm"]["email"].value;
if(emailInput ==""){
alert("Please Enter an Email Adress");
return false;
}
// password Validation
var passwordInput = document.forms["loginForm"]["password"].value;
if(passwordInput ==""){
alert("Please Enter a Password");
return false;
}
}
</script>
</body>
</html>