{"action":"created","comment":{"url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/comments/102141606","pull_request_review_id":22885150,"id":102141606,"diff_hunk":"@@ -0,0 +1,168 @@\n+function dropdownfunction() {\n+    document.getElementById(\"myDropdown\").classList.toggle(\"show\");\n+}\n+\n+\n+\n+// Close the dropdown menu if the user clicks outside of it\n+window.onclick = function(event) {\n+  if (!event.target.matches('.dropbtn')) {\n+\n+    var dropdowns = document.getElementsByClassName(\"dropdown-content\");\n+    var i;\n+    for (i = 0; i < dropdowns.length; i++) {\n+      var openDropdown = dropdowns[i];\n+      if (openDropdown.classList.contains('show')) {\n+        openDropdown.classList.remove('show');\n+      }\n+    }\n+  }\n+}\n+\n+\n+//Function to copy address\n+\n+function addresscheck(a) {\n+    if (a.checkAddress.checked == true) {\n+        a.addressc.value = a.addressp.value;\n+\n+    }\n+}\n+\n+\n+function Validate_form(){\n+  if(Validate_func()){\n+    return addtolist();\n+  }\n+  \n+}\n+\n+\n+\n+\n+function Validate_func(){\n+\n+  if (Validate_name() && Validate_email() && Validate_phone() && Validate_password()){\n+    return true;\n+  }\n+  return false;\n+}\n+\n+\n+\n+\n+function Validate_name() {\n+    var name = document.forms[\"RegisterationForm\"][\"firstname\"].value;\n+    if (name == \"\") {","path":"Bhavya-ui-html/DOM work/maindom.js","position":56,"original_position":56,"commit_id":"933e1107408d03fdeac0b2e29ae798592af3d626","original_commit_id":"933e1107408d03fdeac0b2e29ae798592af3d626","user":{"login":"Prashant-Dukare","id":24382232,"avatar_url":"https://avatars.githubusercontent.com/u/24382232?v=3","gravatar_id":"","url":"https://api.github.com/users/Prashant-Dukare","html_url":"https://github.com/Prashant-Dukare","followers_url":"https://api.github.com/users/Prashant-Dukare/followers","following_url":"https://api.github.com/users/Prashant-Dukare/following{/other_user}","gists_url":"https://api.github.com/users/Prashant-Dukare/gists{/gist_id}","starred_url":"https://api.github.com/users/Prashant-Dukare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prashant-Dukare/subscriptions","organizations_url":"https://api.github.com/users/Prashant-Dukare/orgs","repos_url":"https://api.github.com/users/Prashant-Dukare/repos","events_url":"https://api.github.com/users/Prashant-Dukare/events{/privacy}","received_events_url":"https://api.github.com/users/Prashant-Dukare/received_events","type":"User","site_admin":false},"body":"use trim to check for empty space","created_at":"2017-02-21T06:53:40Z","updated_at":"2017-02-21T06:59:15Z","html_url":"https://github.com/bhavyaverma/FrontEndAssignment/pull/1#discussion_r102141606","pull_request_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/comments/102141606"},"html":{"href":"https://github.com/bhavyaverma/FrontEndAssignment/pull/1#discussion_r102141606"},"pull_request":{"href":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/1","id":105914018,"html_url":"https://github.com/bhavyaverma/FrontEndAssignment/pull/1","diff_url":"https://github.com/bhavyaverma/FrontEndAssignment/pull/1.diff","patch_url":"https://github.com/bhavyaverma/FrontEndAssignment/pull/1.patch","issue_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues/1","number":1,"state":"open","locked":false,"title":"Bhavya","user":{"login":"bhavyaverma","id":25166934,"avatar_url":"https://avatars.githubusercontent.com/u/25166934?v=3","gravatar_id":"","url":"https://api.github.com/users/bhavyaverma","html_url":"https://github.com/bhavyaverma","followers_url":"https://api.github.com/users/bhavyaverma/followers","following_url":"https://api.github.com/users/bhavyaverma/following{/other_user}","gists_url":"https://api.github.com/users/bhavyaverma/gists{/gist_id}","starred_url":"https://api.github.com/users/bhavyaverma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhavyaverma/subscriptions","organizations_url":"https://api.github.com/users/bhavyaverma/orgs","repos_url":"https://api.github.com/users/bhavyaverma/repos","events_url":"https://api.github.com/users/bhavyaverma/events{/privacy}","received_events_url":"https://api.github.com/users/bhavyaverma/received_events","type":"User","site_admin":false},"body":"<img width=\"1440\" alt=\"screen shot 2017-02-13 at 8 48 56 pm\" src=\"https://cloud.githubusercontent.com/assets/25166934/22889089/f5c7fc10-f22d-11e6-8124-1956d6ebada3.png\">\r\n<img width=\"1440\" alt=\"screen shot 2017-02-13 at 8 48 52 pm\" src=\"https://cloud.githubusercontent.com/assets/25166934/22889091/f6ef33d8-f22d-11e6-86af-7cf4eb4f1fb8.png\">\r\n","created_at":"2017-02-13T15:20:09Z","updated_at":"2017-02-21T06:59:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8891e2fb3a4aae1e40a8b23cdd22c7cedcd43fe5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/1/commits","review_comments_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/1/comments","review_comment_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues/1/comments","statuses_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/statuses/933e1107408d03fdeac0b2e29ae798592af3d626","head":{"label":"bhavyaverma:bhavya","ref":"bhavya","sha":"933e1107408d03fdeac0b2e29ae798592af3d626","user":{"login":"bhavyaverma","id":25166934,"avatar_url":"https://avatars.githubusercontent.com/u/25166934?v=3","gravatar_id":"","url":"https://api.github.com/users/bhavyaverma","html_url":"https://github.com/bhavyaverma","followers_url":"https://api.github.com/users/bhavyaverma/followers","following_url":"https://api.github.com/users/bhavyaverma/following{/other_user}","gists_url":"https://api.github.com/users/bhavyaverma/gists{/gist_id}","starred_url":"https://api.github.com/users/bhavyaverma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhavyaverma/subscriptions","organizations_url":"https://api.github.com/users/bhavyaverma/orgs","repos_url":"https://api.github.com/users/bhavyaverma/repos","events_url":"https://api.github.com/users/bhavyaverma/events{/privacy}","received_events_url":"https://api.github.com/users/bhavyaverma/received_events","type":"User","site_admin":false},"repo":{"id":81493673,"name":"FrontEndAssignment","full_name":"bhavyaverma/FrontEndAssignment","owner":{"login":"bhavyaverma","id":25166934,"avatar_url":"https://avatars.githubusercontent.com/u/25166934?v=3","gravatar_id":"","url":"https://api.github.com/users/bhavyaverma","html_url":"https://github.com/bhavyaverma","followers_url":"https://api.github.com/users/bhavyaverma/followers","following_url":"https://api.github.com/users/bhavyaverma/following{/other_user}","gists_url":"https://api.github.com/users/bhavyaverma/gists{/gist_id}","starred_url":"https://api.github.com/users/bhavyaverma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhavyaverma/subscriptions","organizations_url":"https://api.github.com/users/bhavyaverma/orgs","repos_url":"https://api.github.com/users/bhavyaverma/repos","events_url":"https://api.github.com/users/bhavyaverma/events{/privacy}","received_events_url":"https://api.github.com/users/bhavyaverma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bhavyaverma/FrontEndAssignment","description":null,"fork":false,"url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment","forks_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/forks","keys_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/teams","hooks_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/hooks","issue_events_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues/events{/number}","events_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/events","assignees_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/assignees{/user}","branches_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/branches{/branch}","tags_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/tags","blobs_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/refs{/sha}","trees_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/statuses/{sha}","languages_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/languages","stargazers_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/stargazers","contributors_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/contributors","subscribers_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/subscribers","subscription_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/subscription","commits_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/commits{/sha}","git_commits_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/commits{/sha}","comments_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/comments{/number}","issue_comment_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues/comments{/number}","contents_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/contents/{+path}","compare_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/merges","archive_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/downloads","issues_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues{/number}","pulls_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls{/number}","milestones_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/milestones{/number}","notifications_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/labels{/name}","releases_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/releases{/id}","deployments_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/deployments","created_at":"2017-02-09T20:50:53Z","updated_at":"2017-02-10T13:54:10Z","pushed_at":"2017-02-17T23:49:26Z","git_url":"git://github.com/bhavyaverma/FrontEndAssignment.git","ssh_url":"git@github.com:bhavyaverma/FrontEndAssignment.git","clone_url":"https://github.com/bhavyaverma/FrontEndAssignment.git","svn_url":"https://github.com/bhavyaverma/FrontEndAssignment","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"bhavyaverma:master","ref":"master","sha":"094274e6abb5b898f4ba87217fdd63024a9ffd24","user":{"login":"bhavyaverma","id":25166934,"avatar_url":"https://avatars.githubusercontent.com/u/25166934?v=3","gravatar_id":"","url":"https://api.github.com/users/bhavyaverma","html_url":"https://github.com/bhavyaverma","followers_url":"https://api.github.com/users/bhavyaverma/followers","following_url":"https://api.github.com/users/bhavyaverma/following{/other_user}","gists_url":"https://api.github.com/users/bhavyaverma/gists{/gist_id}","starred_url":"https://api.github.com/users/bhavyaverma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhavyaverma/subscriptions","organizations_url":"https://api.github.com/users/bhavyaverma/orgs","repos_url":"https://api.github.com/users/bhavyaverma/repos","events_url":"https://api.github.com/users/bhavyaverma/events{/privacy}","received_events_url":"https://api.github.com/users/bhavyaverma/received_events","type":"User","site_admin":false},"repo":{"id":81493673,"name":"FrontEndAssignment","full_name":"bhavyaverma/FrontEndAssignment","owner":{"login":"bhavyaverma","id":25166934,"avatar_url":"https://avatars.githubusercontent.com/u/25166934?v=3","gravatar_id":"","url":"https://api.github.com/users/bhavyaverma","html_url":"https://github.com/bhavyaverma","followers_url":"https://api.github.com/users/bhavyaverma/followers","following_url":"https://api.github.com/users/bhavyaverma/following{/other_user}","gists_url":"https://api.github.com/users/bhavyaverma/gists{/gist_id}","starred_url":"https://api.github.com/users/bhavyaverma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhavyaverma/subscriptions","organizations_url":"https://api.github.com/users/bhavyaverma/orgs","repos_url":"https://api.github.com/users/bhavyaverma/repos","events_url":"https://api.github.com/users/bhavyaverma/events{/privacy}","received_events_url":"https://api.github.com/users/bhavyaverma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bhavyaverma/FrontEndAssignment","description":null,"fork":false,"url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment","forks_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/forks","keys_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/teams","hooks_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/hooks","issue_events_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues/events{/number}","events_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/events","assignees_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/assignees{/user}","branches_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/branches{/branch}","tags_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/tags","blobs_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/refs{/sha}","trees_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/statuses/{sha}","languages_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/languages","stargazers_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/stargazers","contributors_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/contributors","subscribers_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/subscribers","subscription_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/subscription","commits_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/commits{/sha}","git_commits_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/git/commits{/sha}","comments_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/comments{/number}","issue_comment_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues/comments{/number}","contents_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/contents/{+path}","compare_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/merges","archive_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/downloads","issues_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues{/number}","pulls_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls{/number}","milestones_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/milestones{/number}","notifications_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/labels{/name}","releases_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/releases{/id}","deployments_url":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/deployments","created_at":"2017-02-09T20:50:53Z","updated_at":"2017-02-10T13:54:10Z","pushed_at":"2017-02-17T23:49:26Z","git_url":"git://github.com/bhavyaverma/FrontEndAssignment.git","ssh_url":"git@github.com:bhavyaverma/FrontEndAssignment.git","clone_url":"https://github.com/bhavyaverma/FrontEndAssignment.git","svn_url":"https://github.com/bhavyaverma/FrontEndAssignment","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/1"},"html":{"href":"https://github.com/bhavyaverma/FrontEndAssignment/pull/1"},"issue":{"href":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues/1"},"comments":{"href":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/bhavyaverma/FrontEndAssignment/statuses/933e1107408d03fdeac0b2e29ae798592af3d626"}}}}
{"actor":{"display_login":"Prashant-Dukare"}}