Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added wk 3
  • Loading branch information
maa17019 committed Feb 7, 2021
1 parent cd4681e commit a9995c6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions week-3/index.html
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Window.prompt() practice</title>
<style>
body{
margin: 3%;
}
h1, span{
color: rgb(104, 33, 170);
}
</style>
</head>
<body>
<h1><code> Week 3 Assignment</code></h1>
<h2>
<code>Head over to the console for a surprise message! </code> <span>&#10230;</span>
</h2>
<script>
let person = window.prompt("Please enter your name");
console.log( "Greetings, " + person.toUpperCase() + "." + "\nWelcome to my website!");

</script>

</body>
</html>

0 comments on commit a9995c6

Please sign in to comment.