pull/526/merge
Annmary 6 months ago committed by GitHub
commit 179399170f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1 +1,7 @@
console.log('Hello, World!')
//To output in the console:
console.log('Hello, World!');
//to write into the document/page
document.write("Hello World!");

@ -8,6 +8,10 @@ let age = 100 // age in years
let isMarried = true
// Declaring variables with number values
// We can use keywords like var,let and const to declare variables
// let allows one time declaration and multiple time value assignment
// const allows one time declarartion as well as assignment
// var allows multiple declaration and assignment
const gravity = 9.81 // earth gravity in m/s2
const boilingPoint = 100 // water boiling point, temperature in oC
@ -18,3 +22,4 @@ const PI = 3.14 // geometrical constant
let name = 'Asabeneh', //name of a person
job = 'teacher',
live = 'Finland'

@ -3,8 +3,10 @@
<head>
<title>Document Object Model:30 Days Of JavaScript</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css?family=Lato:300, 400,400i,700,700i&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="main.css">
</head>
<body>

@ -0,0 +1,9 @@
body{
background-color: black;
}
div.wrapper h1{
color : #ffff;
}
Loading…
Cancel
Save