From 4ab196807f44a772efe4ff3b69a86aba9b1a0ce5 Mon Sep 17 00:00:00 2001 From: Lucas Machado de Souza Date: Thu, 1 Dec 2022 06:28:37 -0300 Subject: [PATCH 1/3] Copy from 01_Day_introduction to Portuguese folder --- .../01_day_starter/helloworld.js | 1 + .../01_day_starter/index.html | 19 +++++++++++++++++ .../01_day_starter/introduction.js | 1 + .../01_day_starter/main.js | 4 ++++ .../01_day_starter/variable.js | 21 +++++++++++++++++++ Portuguese/01_Day_introduction/variable.js | 20 ++++++++++++++++++ 6 files changed, 66 insertions(+) create mode 100644 Portuguese/01_Day_introduction/01_day_starter/helloworld.js create mode 100644 Portuguese/01_Day_introduction/01_day_starter/index.html create mode 100644 Portuguese/01_Day_introduction/01_day_starter/introduction.js create mode 100644 Portuguese/01_Day_introduction/01_day_starter/main.js create mode 100644 Portuguese/01_Day_introduction/01_day_starter/variable.js create mode 100644 Portuguese/01_Day_introduction/variable.js diff --git a/Portuguese/01_Day_introduction/01_day_starter/helloworld.js b/Portuguese/01_Day_introduction/01_day_starter/helloworld.js new file mode 100644 index 000000000..8c9e2c0ae --- /dev/null +++ b/Portuguese/01_Day_introduction/01_day_starter/helloworld.js @@ -0,0 +1 @@ +console.log('Hello, World!') \ No newline at end of file diff --git a/Portuguese/01_Day_introduction/01_day_starter/index.html b/Portuguese/01_Day_introduction/01_day_starter/index.html new file mode 100644 index 000000000..7ed5b19b4 --- /dev/null +++ b/Portuguese/01_Day_introduction/01_day_starter/index.html @@ -0,0 +1,19 @@ + + + + + 30DaysOfJavaScript + + + +

30DaysOfJavaScript:03 Day

+

Introduction

+ + + + + + + + + \ No newline at end of file diff --git a/Portuguese/01_Day_introduction/01_day_starter/introduction.js b/Portuguese/01_Day_introduction/01_day_starter/introduction.js new file mode 100644 index 000000000..316199cda --- /dev/null +++ b/Portuguese/01_Day_introduction/01_day_starter/introduction.js @@ -0,0 +1 @@ +console.log('Welcome to 30DaysOfJavaScript') \ No newline at end of file diff --git a/Portuguese/01_Day_introduction/01_day_starter/main.js b/Portuguese/01_Day_introduction/01_day_starter/main.js new file mode 100644 index 000000000..2b952bc2d --- /dev/null +++ b/Portuguese/01_Day_introduction/01_day_starter/main.js @@ -0,0 +1,4 @@ +// the variable values can be accessed from other variable.js file +console.log(firstName, lastName, country, city, age, isMarried) +console.log(gravity, boilingPoint, PI) // 9.81, 100, 3.14 +console.log(name, job, live) \ No newline at end of file diff --git a/Portuguese/01_Day_introduction/01_day_starter/variable.js b/Portuguese/01_Day_introduction/01_day_starter/variable.js new file mode 100644 index 000000000..e28937175 --- /dev/null +++ b/Portuguese/01_Day_introduction/01_day_starter/variable.js @@ -0,0 +1,21 @@ +// Declaring different variables of different data types + +let firstName = 'Asabeneh' // first name of a person +let lastName = 'Yetayeh' // last name of a person +let country = 'Finland' // country +let city = 'Helsinki' // capital city +let age = 100 // age in years +let isMarried = true + +// Declaring variables with number values + +const gravity = 9.81 // earth gravity in m/s2 +const boilingPoint = 100 // water boiling point, temperature in oC +const PI = 3.14 // geometrical constant + +// Variables can also be declaring in one line separated by comma + +let name = 'Asabeneh', //name of a person + job = 'teacher', + live = 'Finland' + diff --git a/Portuguese/01_Day_introduction/variable.js b/Portuguese/01_Day_introduction/variable.js new file mode 100644 index 000000000..62558cb37 --- /dev/null +++ b/Portuguese/01_Day_introduction/variable.js @@ -0,0 +1,20 @@ +// Declaring different variables of different data types + +let firstName = 'Asabeneh' // first name of a person +let lastName = 'Yetayeh' // last name of a person +let country = 'Finland' // country +let city = 'Helsinki' // capital city +let age = 100 // age in years +let isMarried = true + +// Declaring variables with number values + +const gravity = 9.81 // earth gravity in m/s2 +const boilingPoint = 100 // water boiling point, temperature in oC +const PI = 3.14 // geometrical constant + +// Variables can also be declaring in one line separated by comma + +let name = 'Asabeneh', //name of a person + job = 'teacher', + live = 'Finland' From c09bdd921738ccf9b58d07c0b54273271b48739c Mon Sep 17 00:00:00 2001 From: Lucas Machado de Souza Date: Thu, 1 Dec 2022 16:13:58 -0300 Subject: [PATCH 2/3] Portuguese translantion for 01_Day_introduction --- .../01_day_starter/index.html | 4 +-- .../01_day_starter/main.js | 8 ++--- .../01_day_starter/variable.js | 31 +++++++++---------- Portuguese/01_Day_introduction/variable.js | 30 +++++++++--------- 4 files changed, 36 insertions(+), 37 deletions(-) diff --git a/Portuguese/01_Day_introduction/01_day_starter/index.html b/Portuguese/01_Day_introduction/01_day_starter/index.html index 7ed5b19b4..7bc0057be 100644 --- a/Portuguese/01_Day_introduction/01_day_starter/index.html +++ b/Portuguese/01_Day_introduction/01_day_starter/index.html @@ -7,8 +7,8 @@

30DaysOfJavaScript:03 Day

-

Introduction

- +

Introdução

+ diff --git a/Portuguese/01_Day_introduction/01_day_starter/main.js b/Portuguese/01_Day_introduction/01_day_starter/main.js index 2b952bc2d..9006c9dbe 100644 --- a/Portuguese/01_Day_introduction/01_day_starter/main.js +++ b/Portuguese/01_Day_introduction/01_day_starter/main.js @@ -1,4 +1,4 @@ -// the variable values can be accessed from other variable.js file -console.log(firstName, lastName, country, city, age, isMarried) -console.log(gravity, boilingPoint, PI) // 9.81, 100, 3.14 -console.log(name, job, live) \ No newline at end of file +// Os valores das variáveis podem ser acessados de outro arquivo variable.js +console.log(primeiroNome, sobrenome, pais, cidade, idade, isCasado) +console.log(gravidade, pontoEbulicao, PI) // 9.81, 100, 3.14 +console.log(nome, profissao, aondeMora) \ No newline at end of file diff --git a/Portuguese/01_Day_introduction/01_day_starter/variable.js b/Portuguese/01_Day_introduction/01_day_starter/variable.js index e28937175..ba7530bf1 100644 --- a/Portuguese/01_Day_introduction/01_day_starter/variable.js +++ b/Portuguese/01_Day_introduction/01_day_starter/variable.js @@ -1,21 +1,20 @@ -// Declaring different variables of different data types +// Declarando diferentes variáveis com diferentes tipos de dados. -let firstName = 'Asabeneh' // first name of a person -let lastName = 'Yetayeh' // last name of a person -let country = 'Finland' // country -let city = 'Helsinki' // capital city -let age = 100 // age in years -let isMarried = true +let primeiroNome = 'Asabeneh' // primeiro nome de uma pessoa +let sobrenome = 'Yetayeh' // sobrenome de uma pessoa +let pais = 'Finlândia' // país +let cidade = 'Helsinki' // capital do país +let idade = 100 // idade em anos +let isCasado = true -// Declaring variables with number values +// Declarando variáveis com valores numéricos -const gravity = 9.81 // earth gravity in m/s2 -const boilingPoint = 100 // water boiling point, temperature in oC -const PI = 3.14 // geometrical constant +const gravidade = 9.81 // gravidade da terra in m/s2 +const pontoEbulicao = 100 // ponto de ebulição da água, temperatura em oC +const PI = 3.14 // constante geométrica -// Variables can also be declaring in one line separated by comma - -let name = 'Asabeneh', //name of a person - job = 'teacher', - live = 'Finland' +// Variáveis também podem ser declaradas em uma linha, separadas por vírgula. +let nome = 'Asabeneh', //name of a person + profissao = 'Professor', + aondeMora = 'Finlândia' \ No newline at end of file diff --git a/Portuguese/01_Day_introduction/variable.js b/Portuguese/01_Day_introduction/variable.js index 62558cb37..ba7530bf1 100644 --- a/Portuguese/01_Day_introduction/variable.js +++ b/Portuguese/01_Day_introduction/variable.js @@ -1,20 +1,20 @@ -// Declaring different variables of different data types +// Declarando diferentes variáveis com diferentes tipos de dados. -let firstName = 'Asabeneh' // first name of a person -let lastName = 'Yetayeh' // last name of a person -let country = 'Finland' // country -let city = 'Helsinki' // capital city -let age = 100 // age in years -let isMarried = true +let primeiroNome = 'Asabeneh' // primeiro nome de uma pessoa +let sobrenome = 'Yetayeh' // sobrenome de uma pessoa +let pais = 'Finlândia' // país +let cidade = 'Helsinki' // capital do país +let idade = 100 // idade em anos +let isCasado = true -// Declaring variables with number values +// Declarando variáveis com valores numéricos -const gravity = 9.81 // earth gravity in m/s2 -const boilingPoint = 100 // water boiling point, temperature in oC -const PI = 3.14 // geometrical constant +const gravidade = 9.81 // gravidade da terra in m/s2 +const pontoEbulicao = 100 // ponto de ebulição da água, temperatura em oC +const PI = 3.14 // constante geométrica -// Variables can also be declaring in one line separated by comma +// Variáveis também podem ser declaradas em uma linha, separadas por vírgula. -let name = 'Asabeneh', //name of a person - job = 'teacher', - live = 'Finland' +let nome = 'Asabeneh', //name of a person + profissao = 'Professor', + aondeMora = 'Finlândia' \ No newline at end of file From f3699f64dba60b88c8ac71c114acd7f496df99f4 Mon Sep 17 00:00:00 2001 From: Lucas Machado de Souza Date: Thu, 1 Dec 2022 16:14:42 -0300 Subject: [PATCH 3/3] Portuguese translation 01_Day_introduction --- Portuguese/01_Day_introduction/01_day_starter/introduction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Portuguese/01_Day_introduction/01_day_starter/introduction.js b/Portuguese/01_Day_introduction/01_day_starter/introduction.js index 316199cda..ad7d2b303 100644 --- a/Portuguese/01_Day_introduction/01_day_starter/introduction.js +++ b/Portuguese/01_Day_introduction/01_day_starter/introduction.js @@ -1 +1 @@ -console.log('Welcome to 30DaysOfJavaScript') \ No newline at end of file +console.log('Bem vindo ao 30DaysOfJavaScript') \ No newline at end of file