Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />

</head>

</head>

<body>

<h1>Welcome to USA <span id='ProfileName'>name</span></h1>

<ul id="part">
<li>Submit Your Permanent Resident Document</li>
<li>Submit your Education Document</li>
<li>Submit your Background Check Document</li>
</ul>




<ol class='green'>
<li >You are eligible for getting benefits</li>
<li >Register your name in the website</li>
<li >We will call you when your process is done</li>
</ol>



</body>
<script src="main.js"></script>
</html>

37 changes: 37 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
@@ -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;
}


25 changes: 25 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -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
}