diff --git a/index.html b/index.html new file mode 100644 index 0000000..81141e6 --- /dev/null +++ b/index.html @@ -0,0 +1,38 @@ + + + + + + Page Title + + + + + + + + + +

Welcome to USA name

+ + + + + + +
    +
  1. You are eligible for getting benefits
  2. +
  3. Register your name in the website
  4. +
  5. We will call you when your process is done
  6. +
+ + + + + + + \ No newline at end of file diff --git a/main.css b/main.css new file mode 100644 index 0000000..a0aa075 --- /dev/null +++ b/main.css @@ -0,0 +1,37 @@ +h1 {border-block-start-color: 100px; + text-align: center; + padding-top:30px; + padding-bottom:30px; + background-color: pink; + width: 650px; + height: 100px; + padding-block-start: 100px; + float: calc(150%/2); + text-emphasis-color: black; + margin-block-start: 10px; + column-span: "2"; + margin:0px; + } + + + +#part {border-block-start-width: 5px; + padding:20px; + background-color: blueviolet; + float: left; + float: calc(150%/2); + line-height: 170%; + margin-top: 5px; + + + } +.green {border-block-end-width: 5px; + padding: 20px; + background-color: pink; + float: left; + float: calc(150%/2); + line-height: 170%; + margin-top: 5px; + } + + diff --git a/main.js b/main.js new file mode 100644 index 0000000..e6d32e6 --- /dev/null +++ b/main.js @@ -0,0 +1,25 @@ +let name = prompt("What\'s your name?"); +console.log(name); +let human = ['AhO42', 'Gkr6p', 'TtQy5', 'SjvL2']; +let random = Math.floor(Math.random() * 4); +let test = human[random]; +let humanCheck = prompt('Type in the following word to prove you are human ' + name + " : " + test) +let greeting = confirm("Hi " + name + " nice to meet you" ); +let resident = confirm("Are you a lawful resident of US " + name +"?"); +let date = prompt("When did you enter to US " + name + "?"); +let myLocation = prompt("Which airport did you use it, when you enter to Us on " + date +" "+ name + " ?"); +console.log(greeting); +console.log(resident); +console.log(date); +console.log(myLocation); +console.log(alert("Let\'s go " + name)); +let myArray= [' White ', 'Hispanic or Latino ', 'African-American ' ,'East Asia '] +let captcha = prompt('Please write your race ' + myArray) + +var country = ["Iran" , "Canada" , "Egipt", "Afghanistan", "United States"] +for (var i=0; i< country.length ; i++){ + confirm ("Are you from " + country[i]+" ?"); +} +if(name){ + document.getElementById('ProfileName').innerText = name +}