diff --git a/function_page_1.css b/function_page_1.css new file mode 100644 index 0000000..f7bc678 --- /dev/null +++ b/function_page_1.css @@ -0,0 +1,35 @@ +body{ + + margin:0px; + padding:0px; + background-color:#5E6F8C; +} + + + +#container{ + + border:2px solid; + background-color:white ; + width:85%; + margin:auto; + height:600px; + margin-top:1.75%; + border-radius:10px; + +} + + +#left_div{ + +border:1px solid; + +} + + +#right_div{ + + border:1px solid; + + } + \ No newline at end of file diff --git a/function_page_1.html b/function_page_1.html new file mode 100644 index 0000000..7c22da7 --- /dev/null +++ b/function_page_1.html @@ -0,0 +1,558 @@ + + + + + + + function Page 1 + + + + + +
+ +
+ + +

+
+ + +
+ + + + +
+ + +
+ + + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+ +

Next

+
+
+ +
+ + + + \ No newline at end of file diff --git a/function_page_1.js b/function_page_1.js new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html index 6c36934..462c236 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,8 @@ + + - \ No newline at end of file + \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..c9f06ee --- /dev/null +++ b/index.js @@ -0,0 +1,30 @@ + +let start_btn=document.getElementById("start_btn"); +start_btn.addEventListener("click",()=>{ + + clicked_on_start(); +}); + + +const clicked_on_start=()=>{ + +let email=document.getElementById("email").value; + +if(email.includes("@") && email!="@gmail.com" && email.includes(".com")) +{ + + +let object={}; +object["email"]=email; + +localStorage.setItem("person_details",JSON.stringify(object)); +window.location.href="function_page_1.html"; + +} +else +{ +alert("Wrong email"); + +} + +}