Skip to content

Commit 4ab1968

Browse files
committed
Copy from 01_Day_introduction to Portuguese folder
1 parent 643f3c4 commit 4ab1968

File tree

6 files changed

+66
-0
lines changed

6 files changed

+66
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('Hello, World!')
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<title>30DaysOfJavaScript</title>
6+
</head>
7+
8+
<body>
9+
<h1>30DaysOfJavaScript:03 Day</h1>
10+
<h2>Introduction</h2>
11+
<button onclick="alert('Welcome to 30DaysOfJavaScript!');">Click Me</button>
12+
<script src="./helloworld.js"></script>
13+
<script src="./introduction.js"></script>
14+
<script src="./variable.js"></script>
15+
<script src="./main.js"></script>
16+
17+
</body>
18+
19+
</html>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('Welcome to 30DaysOfJavaScript')
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// the variable values can be accessed from other variable.js file
2+
console.log(firstName, lastName, country, city, age, isMarried)
3+
console.log(gravity, boilingPoint, PI) // 9.81, 100, 3.14
4+
console.log(name, job, live)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Declaring different variables of different data types
2+
3+
let firstName = 'Asabeneh' // first name of a person
4+
let lastName = 'Yetayeh' // last name of a person
5+
let country = 'Finland' // country
6+
let city = 'Helsinki' // capital city
7+
let age = 100 // age in years
8+
let isMarried = true
9+
10+
// Declaring variables with number values
11+
12+
const gravity = 9.81 // earth gravity in m/s2
13+
const boilingPoint = 100 // water boiling point, temperature in oC
14+
const PI = 3.14 // geometrical constant
15+
16+
// Variables can also be declaring in one line separated by comma
17+
18+
let name = 'Asabeneh', //name of a person
19+
job = 'teacher',
20+
live = 'Finland'
21+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Declaring different variables of different data types
2+
3+
let firstName = 'Asabeneh' // first name of a person
4+
let lastName = 'Yetayeh' // last name of a person
5+
let country = 'Finland' // country
6+
let city = 'Helsinki' // capital city
7+
let age = 100 // age in years
8+
let isMarried = true
9+
10+
// Declaring variables with number values
11+
12+
const gravity = 9.81 // earth gravity in m/s2
13+
const boilingPoint = 100 // water boiling point, temperature in oC
14+
const PI = 3.14 // geometrical constant
15+
16+
// Variables can also be declaring in one line separated by comma
17+
18+
let name = 'Asabeneh', //name of a person
19+
job = 'teacher',
20+
live = 'Finland'

0 commit comments

Comments
 (0)