pull/890/head
M0lt0 2 years ago
parent a53c6ec3e2
commit 7027943873

@ -0,0 +1,33 @@
// comment make code more readable
// welcome js world
/*comments can make code readable,
easy to reuse and informative*/
let first = 'javaScript';
let strongLang = true;
let undf;
let random = null;
// four var without value
let four;
let three;
let tow ;
let one ;
// four var with vales
let hour = 6;
let story= 'there is a person that will achieve his goals ';
let towHundred = 200;
let onePerson = 'molto' ;
// four var for me
let first_name = 'molto';
let last_name = 'michele'
let marital_status = false;
let count = 'brazil';let age =25;
// last two var
let myAge = 25;
let yourAge = 35;
console.log(`hi i am ${myAge} years old and you are ${yourAge} years old `)

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>js-for-the-moon</title>
<script src="./Exerc/exc.js"></script>
</head>
<body>
<div class="container"><button class="btun" onclick="alert('i will chase you ')">smoush me </button></div>
<script>
console.log('yes i am working')
</script>
</body>
</html>
Loading…
Cancel
Save