You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Portuguese/readMe.md
+43-43Lines changed: 43 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@
56
56
57
57
<div>
58
58
59
-
🇬🇧 [English](./readMe.md)
59
+
🇬🇧 [English](../readMe.md)
60
60
🇪🇸 [Spanish](./Spanish/readme.md)
61
61
🇮🇹 [Italian](./Italian/readMe.md)
62
62
🇷🇺 [Russian](./RU/README.md)
@@ -65,7 +65,7 @@
65
65
🇰🇷 [Korean](./Korea/README.md)
66
66
🇻🇳 [Vietnamese](./Vietnamese/README.md)
67
67
🇵🇱 [Polish](./Polish/readMe.md)
68
-
68
+
🇧🇷 [Portuguese](./readMe.md)
69
69
70
70
</div>
71
71
@@ -201,7 +201,7 @@ Ctl+Shift+I
201
201
202
202
##### Console.log
203
203
204
-
Para escrever nosso primeiro código em JavaScript, vamos usar uma função já construída chamada**console.log()**. Nós passamos um argumento como dados de input, e a função mostra o output. Nós passamos `'Olá, Mundo!'` como dados de input ou argumento na função console.log().
204
+
Para escrever nosso primeiro código em JavaScript, vamos usar uma função built-it **console.log()**. Nós passamos um argumento como dados de input, e a função mostra o output. Nós passamos `'Olá, Mundo!'` como dados de input ou argumento na função console.log().
205
205
206
206
```js
207
207
console.log('Olá, Mundo!')
@@ -257,7 +257,7 @@ console.log('Olá, Mundo!')
257
257
console.log('Olá, Mundo!')
258
258
```
259
259
260
-
Até agora, nós vimos como exibir texto usando o _`console.log()`_. Se estamos imprimindo texto ou string usando _`console.log()`_, o texto tem que estar dentro de uma aspa simples e aspas duplas, ou crase.
260
+
Até agora, nós vimos como exibir texto usando o _`console.log()`_. Se estamos imprimindo texto ou string usando _`console.log()`_, o texto tem que estar dentro de uma aspa simples, aspas duplas, ou crase.
Now, let us practice more writing JavaScript codes using _`console.log()`_ on Google Chrome console for number data types.
273
-
In addition to the text, we can also do mathematical calculations using JavaScript. Let us do the following simple calculations.
274
-
It is possible to write JavaScript code on Google Chrome console can directly without the **_`console.log()`_**function. However, it is included in this introduction because most of this challenge would be taking place in a text editor where the usage of the function would be mandatory. You can play around directly with instructions on the console.
272
+
Agora, vamos praticar escrevendo mais códigos JavaScript usando _`console.log()`_ no console do Google Chrome para números e tipos de dados.
273
+
Em adição ao texto, nós podemos tamem fazer calculos matemáticos usando javaSCript. Vamos fazer calculos simples a seguir.
274
+
É possivel escrever códigos JavaScript no console do Google Chome diretamente sem o função **_`console.log()`_**Entretanto, está incluso nesta introdução porque maior parte deste desafio pode ocorrer no editor de texto onde o uso de funcões pode ser mantario. Você pode brincar diretamente com ins
We can write our codes on the browser console, but it won't be for bigger projects. In a real working environment, developers use different code editors to write their codes. In this 30 dias de JavaScript challenge, we will be using Visual Studio Code.
289
+
Nós podemos escrever nosso código no console do navegador. mas isso nao é usado para grandes projetos. No anbiente real de trabalho, desenvolvedores usam diferentes editores para escrever seus códigos. Neste desafio 30 dias de JavaScript, nós iremos utilizar o Visual Studio Code.
290
290
291
-
#### Installing Visual Studio Code
291
+
#### Instalando o Visual Studio Code
292
292
293
-
Visual Studio Code is a very popular open-source text editor. I would recommend to[download Visual Studio Code](https://code.visualstudio.com/), but if you are in favor of other editors, feel free to follow with what you have.
293
+
Visual Studio Code é editor de texto open-source muito popular. Eu poderia recomendar o[download Visual Studio Code](https://code.visualstudio.com/), mas se você está familiarizado com outro editor, sinta livre para seguir oque você tem.
294
294
295
295

296
296
297
-
If you installed Visual Studio Code, let us start using it.
297
+
Se você instalou o Visual Studio Code, Vamos começar usando-o.
298
298
299
-
#### How to Use Visual Studio Code
299
+
#### Como Usar Visual Studio Code
300
300
301
-
Open the Visual Studio Code by double-clicking its icon. When you open it, you will get this kind of interface. Try to interact with the labeled icons.
301
+
Abra o Visual Studio Code clicando duas vezes com o mouse no ícone. Quando abrir, você terá esta interface. Tente interagir com os ícones rotulados.
302
302
303
303

304
304
@@ -314,45 +314,45 @@ Open the Visual Studio Code by double-clicking its icon. When you open it, you w
JavaScript can be added to a web page in three different ways:
319
+
JavaScript pode ser adicionado para uma página na internet em três diferentes maneiras:
320
320
321
-
-**_Inline script_**
322
-
-**_Internal script_**
323
-
-**_External script_**
324
-
-**_Multiple External scripts_**
321
+
-**_Script em linha_**
322
+
-**_Script Interno_**
323
+
-**_Script Externo_**
324
+
-**_Multiplos Scripts Externos_**
325
325
326
-
The following sections show different ways of adding JavaScript code to your web page.
326
+
As diferentes sessões mostra diferentes maneiras de adicionar códigos JavaScript para sua página na web.
327
327
328
328
### Inline Script
329
329
330
-
Create a project folder on your desktop or in any location, name it 30DaysOfJS and create an **_`index.html`_** file in the project folder. Then paste the following code and open it in a browser, for example [Chrome](https://www.google.com/chrome/).
330
+
Crie uma pasta do projeto no seu desktop ou em qualquer localização, nomeie de 30DaysOfJS e crie um **_`index.html`_** documento na sua pasta do projeto.
331
+
Então copie os seguintes códigos e abra-o no navegador, por exemplo [Chrome](https://www.google.com/chrome/).
332
+
331
333
332
334
```html
333
335
<!DOCTYPE html>
334
336
<htmllang="en">
335
337
<head>
336
-
<title>30DaysOfScript:Inline Script</title>
338
+
<title>30DaysOfScript: Script em linha</title>
337
339
</head>
338
340
<body>
339
-
<buttononclick="alert('Welcome to 30DiasDeJavaScript!')">Click Me</button>
341
+
<buttononclick="alert('Welcome to 30DaysOfScript!')">Clique</button>
340
342
</body>
341
343
</html>
342
344
```
345
+
Agora, você escreveu seu primeiro script em linha. Nós podemos criar uma mensagem pop up usando o _`alert()`_ função built-it
343
346
344
-
Now, you just wrote your first inline script. We can create a pop up alert message using the _`alert()`_ built-in function.
345
-
346
-
### Internal Script
347
+
### Script Interno
347
348
348
-
The internal script can be written in the _`head`_ or the _`body`_, but it is preferred to put it on the body of the HTML document.
349
-
First, let us write on the head part of the page.
349
+
O script interno pode ser escrito no _`head`_ ou _`body`_, mas é preferível colocar no body do documento HTML.
350
350
351
351
```html
352
352
<!DOCTYPE html>
353
353
<htmllang="en">
354
354
<head>
355
-
<title>30DaysOfScript:Internal Script</title>
355
+
<title>30DaysOfScript: Script Interno</title>
356
356
<script>
357
357
console.log('Welcome to 30DiasDeJavaScript')
358
358
</script>
@@ -361,31 +361,31 @@ First, let us write on the head part of the page.
361
361
</html>
362
362
```
363
363
364
-
This is how we write an internal script most of the time. Writing the JavaScript code in the body section is the most preferred option. Open the browser console to see the output from the`console.log()`.
364
+
Isto é como nós escrevemos scripts internos na maioria das vezes. Escrevemos o código de JavaScript na sessão body é a mais preferida opção. Abra o console do navegador e veja o output do`console.log()`.
365
365
366
366
```html
367
367
<!DOCTYPE html>
368
368
<htmllang="en">
369
369
<head>
370
-
<title>30DaysOfScript:Internal Script</title>
370
+
<title>30DaysOfScript:Internal Script</title>
371
371
</head>
372
372
<body>
373
-
<buttononclick="alert('Welcome to 30DiasDeJavaScript!');">Click Me</button>
373
+
<buttononclick="alert('Welcome to 30DiasDeJavaScript!');">Click</button>
374
374
<script>
375
375
console.log('Welcome to 30DiasDeJavaScript')
376
376
</script>
377
377
</body>
378
378
</html>
379
379
```
380
380
381
-
Open the browser console to see the output from the`console.log()`.
381
+
Abra o console do navegador e veja o output do`console.log()`.
382
382
383
383

384
384
385
-
### External Script
385
+
### Script Externo
386
386
387
-
Similar to the internal script, the external script link can be on the header or body, but it is preferred to put it in the body.
388
-
First, we should create an external JavaScript file with .js extension. All files ending with .js extension are JavaScript files. Create a file named introduction.js inside your project directory and write the following code and link this .js file at the bottom of the body.
387
+
Similar com o script interno, o link do script externo pode estar no header ou body, mas é mais indicado colocar no body do documento.
388
+
Primeiro, Nós podemos criar Scripts externos de JavaScript com a .js extensão. Todos os arquivos terminados com a .js extensão são JavaScript documentos. Crie uma pasta nomeada Introdução.js dentro do diretório do projeto e escreva o seguinte código e copie o link do arquivo .js no bottom do body.
0 commit comments