JavaScript Beginners Tutorial 5 | Hello World

  Рет қаралды 18,250

Automation Step by Step

Automation Step by Step

Күн бұрын

Пікірлер: 64
@Crazy_Antler
@Crazy_Antler 3 жыл бұрын
Hi Raghav, I am totally hooked on your tutorials. I want to finish it one by one all because you make everything so simple yet interesting. Thank you so much
@RaghavPal
@RaghavPal 3 жыл бұрын
So happy to see this Janardhan
@SarangHoley
@SarangHoley 5 жыл бұрын
Thanks for explaining the plugins and visual studio installation, I am very eager to learn form next upcoming sessions the Java Script 👍😊
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Sarang
@tahseenamahmud8751
@tahseenamahmud8751 4 жыл бұрын
Hi Raghav, I am totally hooked on to your tutorials. I want to finish one by one all because you make everything so simple yet interesting. The Node.js framework has not yet been worked with, and I looked through all your video titles and neither specifies where I can learn how to set up node in the environmental variables, If you could share a link, I would be ever so grateful.
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Tahseena, you can see the initial part of this video for nodejs kzbin.info/www/bejne/rl7Lc6Odgpqdm5o Can see all tutorials here - automationstepbystep.com/
@Ojtk07
@Ojtk07 9 ай бұрын
hi Raghav, I am getting an error after running my Test command in VS code. Though I have installed NVM on my local machine
@RaghavPal
@RaghavPal 9 ай бұрын
If you're encountering the error message "'node' is not recognized as an internal or external command, operable program or batch file" after running a test command in Visual Studio Code (VS Code) and you've installed NVM (Node Version Manager) on your local machine, here are some steps you can take to resolve this issue: 1. Set the Default Node Version Using NVM: - Open your terminal (not the VS Code terminal) and run the following command to set the default Node.js version: ``` nvm alias default 7.8.0 ``` - This command sets the default Node.js version to 7.8.0. - Now, when you run `node -v` in VS Code, it should return the correct version (7.8.0). 2. Restart VS Code: - After setting the default alias, it's necessary to restart VS Code for it to pick up the changes. 3. Verify the Installation: - Make sure that NVM was installed successfully. You can run `nvm` in your terminal to verify if it outputs information about NVM. - If you still encounter the error, try closing your terminal, opening a new one, and running the command again. 4. Check Your Shell Profile: - Ensure that your shell profile (e.g., `.bashrc`, `.zshrc`, or `.profile`) includes the necessary NVM initialization. - If not, add the following line to your shell profile: ``` export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads NVM ``` - Restart your terminal or run `source ~/.bashrc` (or the appropriate file for your shell) to apply the changes. 5. Verify Node Installation: - Run `node -v` in your terminal to ensure that Node.js is installed and accessible globally. - If not, you may need to install Node.js separately using NVM. Remember to replace `7.8.0` with the desired Node.js version you want to use
@skshanawaz21
@skshanawaz21 2 жыл бұрын
WHich extension is required for getting the basic code for HTML by Just using "!"..
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi Shanawaz, generally the basic support for html is included with VS Code (using latest version) . Just make sure your file has .html extension. Check this - code.visualstudio.com/docs/languages/html IF you do not get it, check these extensions - code.visualstudio.com/docs/languages/html#_html-extensions
@siiberad
@siiberad 5 жыл бұрын
im super new at javascript.. this is what i need.. thanksss
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome
@dawit7956
@dawit7956 4 жыл бұрын
Am trying to learn for scratch, but you are such a very nice teacher
@RaghavPal
@RaghavPal 4 жыл бұрын
Happy to hear that!
@mzamomahaeng268
@mzamomahaeng268 3 жыл бұрын
Ever the excellent content man for learning 👌 love you work sir
@RaghavPal
@RaghavPal 3 жыл бұрын
Thanks Mzamo
@geethageethu2215
@geethageethu2215 Жыл бұрын
Hi Raghav ...Im not getting output when I installed the extensions you mentioned?
@RaghavPal
@RaghavPal Жыл бұрын
Hi Geetha I may not remember exactly and may have to watch the video. Can you please give details
@22Roopa
@22Roopa 3 жыл бұрын
Hi Raghav, I am not getting the output for this code in output window in visual studio code. I have also installed Node and npm. How will I get the output after running the code
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Roopa, this can help discuss.codecademy.com/t/how-do-you-show-the-console-log-in-visual-studio-code-with-javascript/543330
@22Roopa
@22Roopa 3 жыл бұрын
@@RaghavPal Thanks a lot Raghav for helping me .. This has solved my issue.
@mayankjain9941
@mayankjain9941 4 жыл бұрын
Thanks for explaining each step very nice manner.
@RaghavPal
@RaghavPal 4 жыл бұрын
Thanks for liking
@Ojtk07
@Ojtk07 9 ай бұрын
Hi raghav I am getting error "[Running] node "d:\Javascript\tempCodeRunnerFile.js" 'node' is not recognized as an internal or external command, operable program or batch file." Though i have installed NVM on my local machine, please suggest.
@RaghavPal
@RaghavPal 9 ай бұрын
If you're encountering the error message "'node' is not recognized as an internal or external command, operable program or batch file" after running a test command in Visual Studio Code (VS Code) and you've installed NVM (Node Version Manager) on your local machine, here are some steps you can take to resolve this issue: 1. Set the Default Node Version Using NVM: - Open your terminal (not the VS Code terminal) and run the following command to set the default Node.js version: ``` nvm alias default 7.8.0 ``` - This command sets the default Node.js version to 7.8.0. - Now, when you run `node -v` in VS Code, it should return the correct version (7.8.0). 2. Restart VS Code: - After setting the default alias, it's necessary to restart VS Code for it to pick up the changes. 3. Verify the Installation: - Make sure that NVM was installed successfully. You can run `nvm` in your terminal to verify if it outputs information about NVM. - If you still encounter the error, try closing your terminal, opening a new one, and running the command again. 4. Check Your Shell Profile: - Ensure that your shell profile (e.g., `.bashrc`, `.zshrc`, or `.profile`) includes the necessary NVM initialization. - If not, add the following line to your shell profile: ``` export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads NVM ``` - Restart your terminal or run `source ~/.bashrc` (or the appropriate file for your shell) to apply the changes. 5. Verify Node Installation: - Run `node -v` in your terminal to ensure that Node.js is installed and accessible globally. - If not, you may need to install Node.js separately using NVM. Remember to replace `7.8.0` with the desired Node.js version you want to use
@nitishvashisht8086
@nitishvashisht8086 5 жыл бұрын
Thanks Raghav!!!... Happy teachers day in advance... You taught me a lot of things..:)
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks a lot Nitish. Keep spreading your knowledge
@rash1977
@rash1977 5 ай бұрын
Hello Raghav. What if Visual Studio code displays "'groovy' is not recognized as an internal or external command, operable program or batch file.
@RaghavPal
@RaghavPal 5 ай бұрын
Rashmi The error "'groovy' is not recognized as an internal or external command, operable program or batch file" typically occurs when your system cannot find the Groovy executable in your system's PATH environment variable Here are some steps to help you resolve this issue in Visual Studio Code (VS Code): 1. Check if you have Groovy installed: Make sure you have Groovy installed on your system. You can download the latest version of Groovy from the official website: groovy.apache.org/download.html 2. Verify the Groovy installation: Open a new Command Prompt or Terminal window and type groovy -version. If Groovy is installed correctly, you should see the version number displayed. 3. Update the PATH environment variable: Add the Groovy executable directory to your system's PATH environment variable. This will allow your system to find the Groovy executable. For Windows: Right-click on "Computer" or "This PC" and select "Properties". Click on "Advanced system settings" on the left side. Click on "Environment Variables". Under "System Variables", scroll down and find the "Path" variable, then click "Edit". Click "New" and add the path to the Groovy executable (e.g., C:\Program Files\Groovy\bin). Click "OK" to close all the windows. For macOS/Linux: Open your shell configuration file (e.g., ~/.bashrc or ~/.zshrc) in a text editor. Add the following line to the end of the file: export PATH=$PATH:/path/to/groovy/bin (replace /path/to/groovy/bin with the actual path to the Groovy executable directory). Save the file and restart your terminal. 4. Restart VS Code: Close and reopen VS Code to ensure that the changes take effect. 5. Verify the Groovy extension in VS Code: Open VS Code and check if the Groovy extension is installed and enabled. You can do this by: Opening the Extensions panel by clicking the Extensions icon in the left sidebar or pressing Ctrl + Shift + X (Windows/Linux) or Cmd + Shift + X (macOS) Searching for "Groovy" in the Extensions marketplace. Installing or enabling the Groovy extension if it's not already installed. After following these steps, you should be able to use Groovy in VS Code without encountering the "'groovy' is not recognized" error -
@rash1977
@rash1977 5 ай бұрын
@@RaghavPal Is it same for Node also?
@RaghavPal
@RaghavPal 5 ай бұрын
yeah can try
@karthiksubramanian-g9u
@karthiksubramanian-g9u 4 ай бұрын
Hi Raghav, i am trying to configure browser for Live server can you please help me how to do that
@RaghavPal
@RaghavPal 4 ай бұрын
Karthik will need more details.. what tools are you using.. what steps you have done..
@roberttran3817
@roberttran3817 2 жыл бұрын
can you help me out, "got this error: 'node' is not recognized as an internal or external command, operable program or batch file." when run hello.js
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi Robert, The error message "'node' is not recognized as an internal or external command, operable program or batch file" typically means that Node.js is not installed on your system or the system's PATH environment variable is not configured to include the Node.js installation directory. To resolve this issue, you need to install Node.js on your system and add its installation directory to the PATH environment variable. Here are the steps you can follow: Download and install Node.js from the official Node.js website (nodejs.org/en/download/). Make sure to select the appropriate version for your system. Once Node.js is installed, open a new terminal or command prompt window and type the following command to check if Node.js is installed properly: node -v This should print the version of Node.js that you have installed. If the node command is still not recognized, you may need to add the Node.js installation directory to your system's PATH environment variable. On Windows, you can do this by following these steps: a. Open the Start menu and search for "Environment Variables". b. Click on "Edit the system environment variables". c. Click on the "Environment Variables" button. d. Under "System Variables", find the "Path" variable and click "Edit". e. Click "New" and add the path to the Node.js installation directory. The default installation directory is "C:\Program Files odejs". f. Click "OK" on all windows to save the changes. After adding the Node.js installation directory to your PATH, open a new terminal or command prompt window and try running your hello.js script again: node hello.js This should run your script without any errors.
@anilnerkar4315
@anilnerkar4315 Жыл бұрын
​@@RaghavPal thanks a lot Raghav..
@sagarbobade2036
@sagarbobade2036 5 жыл бұрын
Wow javascript..!!! Means, Are you planning to teach protractor ?
@RaghavPal
@RaghavPal 5 жыл бұрын
Yes I will Sagar
@TheBharathibalaji
@TheBharathibalaji 3 жыл бұрын
Hi sir, created hello world program. But output is not printed in console
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi, please check all the steps again and see if anything is missed
@DeanExplains
@DeanExplains 3 жыл бұрын
I have a problem. The console doesn't print my "Hello world". All I have in the console is: My code: console.log ('Hello World'); Console: [Running] node "c:\Users\ahima\Desktop\Javascript\hello.js" [Done] exited with code=0 in 0.083 seconds
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi, looks okay to me, can try this too console.log("Hello world!");
@DeanExplains
@DeanExplains 3 жыл бұрын
@@RaghavPal Still the same. Do I need to configure Environmental variables?
@RaghavPal
@RaghavPal 3 жыл бұрын
I hope you have followed all steps from Tutorial 1. Pls recheck
@mohapatradharitree
@mohapatradharitree 5 жыл бұрын
Hi Raghav .Thanks for the detailed video.I am facing some issue while installing code Runner its showing error "command 'code-runner.run' not found".Could you please help.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Dharitree, Pls try to uninstall and install the extension again. Pls check this - Please delete the C:\Users*.vscode\extensions\formulahendry.code-runner-* folder and install extension again.
@jagannathsiram
@jagannathsiram 3 жыл бұрын
Thank you for the video Raghav! but i'm getting an error while running the code. Could you please help me on the same. Below steps has been followed: 1. ESLint plugin has been added from Extension tab. 2. Created the Javascript folder on my desktop. 3. Created a file called hello.js under Javascript folder. 4. Written code: console.log('Hello World...!'); 5. Code runner plugin has been added from Extension tab. 6. Saved the code. 7. Click "play", getting the below error. Code: console.log('Hello World...!'); Error: [Running] node "c:\Users\sirangan\Desktop\JavaScript\hello.js" 'node' is not recognized as an internal or external command, operable program or batch file.[Done] exited with code=1 in 0.037 seconds
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi, looks like your node js was not installed properly, stackoverflow.com/questions/23412938/node-is-not-recognized-as-an-internal-or-an-external-command-operable-program
@shardasstudio6505
@shardasstudio6505 5 жыл бұрын
Hi Sir, I m facing this below error while executiong script. [Running] node "d:\VSCode\tempCodeRunnerFile.js" 'node' is not recognized as an internal or external command, operable program or batch file. [Done] exited with code=1 in 0.227 seconds [Running] groovy "d:\VSCode\test.groovy" 'groovy' is not recognized as an internal or external command, operable program or batch file. I am new to JS, can you please help me how can i resolve this error.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Shardha, looks like either node is not intstalled or env variables are not set on your system. Pls run this command on cmd node -v If you do not get node version than check if node is installed and env variables set. First part of this video will help you for node- kzbin.info/www/bejne/rl7Lc6Odgpqdm5o
@trilokvooka7925
@trilokvooka7925 5 жыл бұрын
Thanks Raghav 👍
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Trilok
@hingtopun9074
@hingtopun9074 4 жыл бұрын
Thanks a lot!!!!
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome!
@sunilkumar005
@sunilkumar005 5 жыл бұрын
Hi Raghav, i am getting [Done] exited with code=-4058 in 0.007 seconds on running the code. could you please help what am i missing.
@RaghavPal
@RaghavPal 5 жыл бұрын
No error in logs Sunil, pls show your code. Hope you saved the file before running
@sunilkumar005
@sunilkumar005 5 жыл бұрын
@@RaghavPal here is the code raghav, console.log("Hello world");
@sunilkumar005
@sunilkumar005 5 жыл бұрын
@@RaghavPal its working now. Thanks !
@mounicapapisetti3050
@mounicapapisetti3050 5 жыл бұрын
Thanking you Raghav
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Mounica
@nathantum8463
@nathantum8463 5 жыл бұрын
Thank you for the video.
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Nathan
@abdultayeb8891
@abdultayeb8891 4 жыл бұрын
good job
@RaghavPal
@RaghavPal 4 жыл бұрын
Thanks
JavaScript Beginners Tutorial 6 | Comments and Variables
8:10
Automation Step by Step
Рет қаралды 12 М.
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
JavaScript Beginners Tutorial 12 |  Bitwise Operators
10:23
Automation Step by Step
Рет қаралды 15 М.
JavaScript Beginners Tutorial 7 | Operators - Arithmetic Operators
7:40
Automation Step by Step
Рет қаралды 20 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 44 МЛН
JavaScript Course for Beginners - Your First Step to Web Development
48:17
Programming with Mosh
Рет қаралды 13 МЛН
#1 Getting Started | JavaScript Tutorial for Beginners
10:23
Telusko
Рет қаралды 313 М.
Learn To Code Like a GENIUS and Not Waste Time
9:41
The Coding Sloth
Рет қаралды 1,9 МЛН
JavaScript Beginners Tutorial 13 | If Else If statements
5:55
Automation Step by Step
Рет қаралды 12 М.
JavaScript Beginners Tutorial 11 | Type Operators
5:48
Automation Step by Step
Рет қаралды 9 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН