Created
February 7, 2021 09:50
-
-
Save mahmoudkhudairi/1427c535576ee6d22dfc73a94584c9cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>201 demo</title> | |
<!-- Internal Style --> | |
<style> | |
p { | |
color: #f45321; | |
} | |
</style> | |
<!-- not a good practice to have js in the head --> | |
<script> | |
// alert('Welcome'); | |
</script> | |
</head> | |
<body> | |
<header> | |
<nav> | |
<ul> | |
<li><a href="/">Home</a></li> | |
<li><a href="#">About</a></li> | |
</ul> | |
</nav> | |
</header> | |
<main> | |
<!-- inline style --> | |
<h6 style="color: blue">hello world</h6> | |
<p>this is 201 class</p> | |
</main> | |
<footer></footer> | |
<script> | |
var userName = prompt('what is your name?'); | |
// let === var | |
let classNumber = prompt('what is your class number'); | |
console.log('User Name ======>', userName, classNumber); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment