complete-javascript-course icon indicating copy to clipboard operation
complete-javascript-course copied to clipboard

file for chapter 2 on GitHub

Open trish1236 opened this issue 2 years ago • 33 comments

hi I am not getting the proper file for chapter 2 https://github.com/jonasschmedtmann/complete-javascript-course/tree/master/02-Fundamentals-Part-2 it is showing in safari

trish1236 avatar Oct 29 '22 21:10 trish1236

any one please answer this question.

trish1236 avatar Oct 29 '22 22:10 trish1236

hello anyone?

trish1236 avatar Oct 29 '22 22:10 trish1236

the file is showing safari

trish1236 avatar Oct 29 '22 22:10 trish1236

complete-javascript-course/02-Fundamentals-Part-2/ file is not working

trish1236 avatar Oct 29 '22 22:10 trish1236

Hi Trish Can you elaborate on this a little more? What doesn't work exactly?

akozdev avatar Oct 30 '22 10:10 akozdev

I am trying to do the The Complete JavaScript Course 2022: From Zero to Expert! lesson 31 using strict mode but I am stuck with this video because the file does not work. I just shows up in safari and not using the starter file and strict file that this instructor has in the video.

trish1236 avatar Oct 30 '22 15:10 trish1236

this is the video for it https://www.udemy.com/course/the-complete-javascript-course/learn/lecture/22648215#questions

trish1236 avatar Oct 30 '22 16:10 trish1236

https://github.com/jonasschmedtmann/complete-javascript-course/tree/master/02-Fundamentals-Part-2 when you open it it shows safari

trish1236 avatar Oct 30 '22 16:10 trish1236

hello are you still there?

trish1236 avatar Oct 30 '22 17:10 trish1236

Ok, first please open the 02-Fundamentals-Part-2/starter directory in VS Code. To do so: open VS Code > File > Open Folder... > choose the 02-Fundamentals-Part-2/starter directory vscode_open_folder Next, go to the 02-Fundamentals-Part-2/starter directory in your files, and open the index.html file in the browser. To do so: control-click (or right-click if you're on Windows) the index.html file > Open With > Google Chrome (or the browser of your choice)

akozdev avatar Oct 31 '22 18:10 akozdev

when I go to my desktop on my laptop it does not show the chapter 2 folder on my visual studio code?

On Mon, Oct 31, 2022 at 11:05 AM Aleksander Kozłowski < @.***> wrote:

Ok, first please open the 02-Fundamentals-Part-2/starter directory in VS Code. To do so: open VS Code > File > Open Folder... > choose the 02-Fundamentals-Part-2/starter directory [image: vscode_open_folder] https://user-images.githubusercontent.com/51536161/199077227-79680d3e-2898-4c84-b93c-b8f9fbf4be5b.png Next, go to the 02-Fundamentals-Part-2/starter directory in your files, and open the index.html file in the browser. To do so: control-click (or right-click if you're in Windows) the index.html file > Open With > Google Chrome (or the browser of your choice)

— Reply to this email directly, view it on GitHub https://github.com/jonasschmedtmann/complete-javascript-course/issues/301#issuecomment-1297471565, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKW3VWV72UJAUU4UMAE47LWGAC7XANCNFSM6AAAAAARR7FHU4 . You are receiving this because you are subscribed to this thread.Message ID: <jonasschmedtmann/complete-javascript-course/issues/301/1297471565@ github.com>

trish1236 avatar Oct 31 '22 18:10 trish1236

it shows grey

trish1236 avatar Oct 31 '22 18:10 trish1236

Can you post a screenshot of how it looks for you?

akozdev avatar Oct 31 '22 21:10 akozdev

it does not allow me to do any screenshots for chapter 2 for this course. it only allows files for chapter 1.

trish1236 avatar Oct 31 '22 23:10 trish1236

It seems like you need to learn some basic computer techniques...

ascendho avatar Nov 01 '22 12:11 ascendho

I tried to drop the files here but it does not allow safari links

trish1236 avatar Nov 01 '22 15:11 trish1236

how did you get your files to work on visual studio code with chapter 2 for zero to mastery 2022 course?

trish1236 avatar Nov 02 '22 02:11 trish1236

I use WebStorm instead of VS code... But seriously I really can't understand your question without any screenshot or vedio to show your problem...

ascendho avatar Nov 02 '22 08:11 ascendho

Did you extract files from the zip archive before opening it in VS Code?

akozdev avatar Nov 02 '22 10:11 akozdev

I tried that but it shows this on visual studio code

JavaScript Fundamentals – Part 2

JavaScript Fundamentals – Part 2

and not the script file

trish1236 avatar Nov 02 '22 15:11 trish1236

That's good. Now you can create a script.js file in the same directory as the index.html file, and then use this <script src="script.js"></script> line to link both files. Then, you can write your JS code in the script.js file.

akozdev avatar Nov 02 '22 16:11 akozdev

what are the steps for that?

trish1236 avatar Nov 02 '22 19:11 trish1236

  1. Open the 02-Fundamentals-Part-2/starter project in VS Code as I wrote here.
  2. Then, open the script.js file in VS Code (from the VS Code sidebar), and start writing code. You can test it with console.log('Hello');. Remember to save the file.
  3. Check if there is an output in the browser console (open index.html file in the browser as describer here, and then open the browser console with Command + Option + J shortcut (Mac) or Control + Shift + J (Windows/Linux).

I see that the starter already has the script.js file linked with the index.html file, so you don't need to create them.

akozdev avatar Nov 02 '22 20:11 akozdev

I don't see the script.js on my visual studio code on the sidebar?

trish1236 avatar Nov 03 '22 23:11 trish1236

hello still there?

trish1236 avatar Nov 03 '22 23:11 trish1236

could not find the script.js file for chapter 2 in zero to mastery javascript on visual studio code. can you please tell me the steps again. I really want tp complete this course soon. Please respond fast.

trish1236 avatar Nov 04 '22 17:11 trish1236

when I open in default browser it shows black screen

trish1236 avatar Nov 04 '22 17:11 trish1236

Ok, please open the 02-Fundamentals-Part-2/starter directory in your file explorer, and let me know what files you can see there.

Can you see the index.html and script.js files there?

akozdev avatar Nov 04 '22 18:11 akozdev

I tried but it shows a empty tab

trish1236 avatar Nov 05 '22 21:11 trish1236

anyone there?

trish1236 avatar Nov 05 '22 21:11 trish1236