Skip to content

Commit 2e8aadb

Browse files
committed
checking added image size
1 parent 69a857c commit 2e8aadb

1 file changed

Lines changed: 33 additions & 31 deletions

File tree

readMe.md

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,27 @@
2525
- [Browser](#browser)
2626
- [Installing Google Chrome](#installing-google-chrome)
2727
- [Opening Google Chrome Console](#opening-google-chrome-console)
28-
- [Writing Code on browser Console](#writing-code-on-browser-console)
28+
- [Writing Code on Browser Console](#writing-code-on-browser-console)
2929
- [Console.log](#consolelog)
30-
- [Console.log with multiple arguments](#consolelog-with-multiple-arguments)
30+
- [Console.log with Multiple Arguments](#consolelog-with-multiple-arguments)
3131
- [Comment](#comment)
3232
- [Syntax](#syntax)
3333
- [Arithmetics](#arithmetics)
3434
- [Code Editor](#code-editor)
3535
- [Installing Visual Studio Code](#installing-visual-studio-code)
36-
- [How to use visual studio code](#how-to-use-visual-studio-code)
37-
- [Adding JavaScript to a web page](#adding-javascript-to-a-web-page)
36+
- [How to Use Visual Studio Code](#how-to-use-visual-studio-code)
37+
- [Adding JavaScript to a Web Page](#adding-javascript-to-a-web-page)
3838
- [Inline Script](#inline-script)
39-
- [Internal script](#internal-script)
40-
- [External script](#external-script)
41-
- [Multiple External scripts](#multiple-external-scripts)
42-
- [Introduction to Data types](#introduction-to-data-types)
39+
- [Internal Script](#internal-script)
40+
- [External Script](#external-script)
41+
- [Multiple External Scripts](#multiple-external-scripts)
42+
- [Introduction to Data Types](#introduction-to-data-types)
4343
- [Number](#number)
4444
- [String](#string)
4545
- [Booleans](#booleans)
4646
- [Undefined](#undefined)
4747
- [Null](#null)
48-
- [Checking Data types](#checking-data-types)
48+
- [Checking Data Types](#checking-data-types)
4949
- [Comments](#comments)
5050
- [Variables](#variables)
5151
- [💻 Day 1: Exercises](#%f0%9f%92%bb-day-1-exercises)
@@ -54,9 +54,9 @@
5454

5555
## Introduction
5656

57-
**Congratulations** for deciding to participate in a 30 days of JavaScript programming challenge . In this challenge you will learn everything you need to be a JavaScript programmer and in general the whole concepts of programming. In the end of the challenge you will get a 30DaysOfJavaScript programming challenge certificate. Join the [telegram group](https://t.me/ThirtyDaysOfJavaScript).
57+
**Congratulations** for deciding to participate in 30 days of JavaScript programming challenge. In this challenge you will learn everything you need to be a JavaScript programmer, and in general, the whole concept of programming. In the end of the challenge you will get a 30DaysOfJavaScript programming challenge certificate. Join the [telegram group](https://t.me/ThirtyDaysOfJavaScript).
5858

59-
**A 30DaysOfJavaScript** challenge is a guide for both beginners and advanced JavaScript developers. Welcome to JavaScript. I enjoy using and teaching JavaScript and I hope you will do so. JavaScript is the language of the browser.
59+
**A 30DaysOfJavaScript** challenge is a guide for both beginners and advanced JavaScript developers. Welcome to JavaScript. I enjoy using and teaching JavaScript and I hope you will do so too. JavaScript is the language of the web browser.
6060

6161
In this step by step tutorial, you will learn JavaScript, the most popular programming language in the history of mankind.
6262
You use JavaScript **_to add interactivity to websites, to develop mobile apps, desktop applications, games_** and nowadays JavaScript can be used for **_machine learning_** and **_AI_**.
@@ -88,14 +88,14 @@ After downloading double click and install
8888

8989
![Install node](images/install_node.png)
9090

91-
We can check if node is installed in our local machine by opening our device terminal or command prompt.
91+
We can check if node is installed on our local machine by opening our device terminal or command prompt.
9292

9393
```sh
9494
asabeneh $ node -v
9595
v12.14.0
9696
```
9797

98-
I am using node version 12.14.0, which is the recommended version of node.
98+
When making this tutorial I was using node version 12.14.0, but now the recommended version of node.js for download is 12.17.0.
9999

100100
### Browser
101101

@@ -109,18 +109,18 @@ Install [google chrome](https://www.google.com/chrome/) if you do not have one y
109109

110110
#### Opening Google Chrome Console
111111

112-
You can open Google Chrome either by clicking three dots at the top right corner of the Chrome browser or using a shortcut. I prefer using shortcuts.
112+
You can open Google Chrome console either by clicking three dots at the top right corner of the browser, selecting _More tools -> Developer tools_ or using a keyboard shortcut. I prefer using shortcuts.
113113

114114
![Opening chrome](images/opening_developer_tool.png)
115115

116-
To open the Chrome console using a short cut.
116+
To open the Chrome console using a keyboard shortcut.
117117

118118
```sh
119119
Mac
120-
Command+Option+I
120+
Command+Option+J
121121

122-
Windows:
123-
Ctl+Shift+I
122+
Windows/Linux:
123+
Ctl+Shift+J
124124
```
125125

126126
![Opening console](images/opening_chrome_console_shortcut.png)
@@ -130,7 +130,7 @@ Let us write a JavaScript code on the Google Chrome console:
130130

131131
![write code on console](./images/js_code_on_chrome_console.png)
132132

133-
#### Writing Code on browser Console
133+
#### Writing Code on Browser Console
134134

135135
We can write any JavaScript code on the Google console or any browser console. However, for this challenge, we only focus on Google Chrome console. Open the console using:
136136

@@ -144,13 +144,13 @@ Ctl+Shift+I
144144

145145
##### Console.log
146146

147-
To write our first JavaScript code, we used a builtin function **console.log()**. We passed an argument as input data, and the function displays the output. We passed 'Hello, World' as input data or argument in the console.log() function.
147+
To write our first JavaScript code, we used a built-in function **console.log()**. We passed an argument as input data, and the function displays the output. We passed 'Hello, World' as input data or argument in the console.log() function.
148148

149149
```js
150150
console.log('Hello, World!')
151151
```
152152

153-
##### Console.log with multiple arguments
153+
##### Console.log with Multiple Arguments
154154

155155
The console.log(param1, param2, param3), can take multiple arguments.
156156

@@ -162,13 +162,13 @@ console.log('HAPPY', 'NEW', 'YEAR', 2020)
162162
console.log('Welcome', 'to', 30, 'Days', 'Of', 'JavaScript')
163163
```
164164

165-
As you can see from the above snippet code, *console.log()* can take multiple arguments.
165+
As you can see from the snippet code above, *console.log()* can take multiple arguments.
166166

167167
Congratulations! You wrote your first JavaScript code using *console.log()*.
168168

169169
##### Comment
170170

171-
We add comments to our code. Comments are very important to make code more readable and to leave remarks in our code. JavaScript does not execute the comment part of our code. Any text starts with // in JavaScript is a comment or anything enclose like this /* */ is a comment.
171+
We add comments to our code. Comments are very important to make code more readable and to leave remarks in our code. JavaScript does not execute the comment part of our code. Any text line starting with // in JavaScript is a comment or anything enclosed like this /* */ is a comment.
172172

173173
**Example: Single Line Comment**
174174

@@ -197,7 +197,7 @@ console.log("Hello, World!")
197197
console.log('Hello, World!')
198198
```
199199

200-
So far, we saw how to display text using a *console.log()*. If we are printing text or string using *console.log()*, the text has to be under the single, double, or backtick.
200+
So far, we saw how to display text using a *console.log()*. If we are printing text or string using *console.log()*, the text has to be under the single quote, double quote, or a backtick quote.
201201
**Example:**
202202

203203
```js
@@ -219,24 +219,24 @@ console.log(3 - 2) // Subtraction
219219
console.log(2 * 3) // Multiplication
220220
console.log(3 / 2) // Division
221221
console.log(3 % 2) // Modulus - finding remainder
222-
console.log(3 ** 2) // Exponential
222+
console.log(3 ** 2) // Exponentiation
223223
```
224224

225225
### Code Editor
226226

227-
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 days python JavaScript challenge, we will use visual studio code.
227+
We can write our codes on the browser console, but it won't do for bigger projects. In a real working environment, developers use different code editors to write their codes. In this 30 days python JavaScript challenge, we will use Visual Studio Code.
228228

229229
#### Installing Visual Studio Code
230230

231-
VVisual studio code is a very popular open-source text editor. I would recommend to [download](https://code.visualstudio.com/) visual studio code, but if you are in favor of other editors, feel free to follow with what you have.
231+
VVisual 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.
232232

233233
![Vscode](images/vscode.png)
234234

235-
If you installed visual studio code, let us start using it.
235+
If you installed Visual Studio Code, let us start using it.
236236

237-
#### How to use visual studio code
237+
#### How to Use Visual Studio Code
238238

239-
Open the visual studio code by double-clicking the visual studio icon. When you open it, you will get this kind of interface. Try to interact with the labeled icons.
239+
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.
240240

241241
![Vscode ui](./images/vscode_ui.png)
242242

@@ -246,11 +246,13 @@ Open the visual studio code by double-clicking the visual studio icon. When you
246246

247247
![script file](images/scripts_on_vscode.png)
248248

249+
![Installing Live Server](images/vsc_live_server.png)
250+
249251
![running script](./images/running_script.png)
250252

251253
![coding running](./images/launched_on_new_tab.png)
252254

253-
## Adding JavaScript to a web page
255+
## Adding JavaScript to a Web Page
254256

255257
JavaScript can be added to a web page in three different ways:
256258
- **_Inline script_**

0 commit comments

Comments
 (0)