How to Run JavaScript in Visual Studio Code on Windows 11 / Windows 10 | JavaScript in VSCode

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • In this tutorial, we will show you how to run JavaScript in Visual Studio Code on Windows. Visual Studio Code is a popular code editor that supports a wide range of programming languages, including JavaScript. With Visual Studio Code, you can write and run JavaScript code right from the editor. We will guide you through the process of setting up your environment, creating a new JavaScript file, and running your code. Whether you're a beginner or an experienced programmer, Visual Studio Code can help you write, test, and debug your JavaScript code with ease. Follow along with our step-by-step instructions and start running JavaScript in Visual Studio Code on your Windows machine today! #JavaScript #VisualStudioCode #Windows #Programming #WebDevelopment

КОМЕНТАРІ • 165

  • @Lumegrin
    @Lumegrin 2 місяці тому +13

    THANK YOU!!!!! all the other tutorials never went over the basics of setting things up, so im very grateful for this video

  • @jamesbond-ku2dq
    @jamesbond-ku2dq Рік тому +26

    Exactly what I needed. Thank you for the easy-to-follow tutorial

  • @Fortune-y7e
    @Fortune-y7e Рік тому +8

    It is showing 'node' is not recognised as an internal or external comand .
    What to do ? Anyone help me plz.

    • @shreyaskarverma8662
      @shreyaskarverma8662 11 місяців тому +2

      SET PATH=C:\Program Files\Nodejs;%PATH% just run this command on your cmd

    • @panda45624
      @panda45624 10 місяців тому

      thank you so much! it worked :D @@shreyaskarverma8662

    • @random_star_wars_fan2.050
      @random_star_wars_fan2.050 Місяць тому

      It just doesn't work​@@shreyaskarverma8662

    • @dhawanpriyam
      @dhawanpriyam 29 днів тому

      @@shreyaskarverma8662 doesnt work

  • @miladsamandari8734
    @miladsamandari8734 4 місяці тому +3

    I did everything you said but I get this error after trying to test my code:
    node: The term 'node' is not recognized as a name of a cmdlet, function, script file, or executable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    • @bljok.o6938
      @bljok.o6938 3 місяці тому

      same

    • @miladsamandari8734
      @miladsamandari8734 3 місяці тому +1

      @@bljok.o6938 I found a solution bro, you have to save your code first -_- then test it

  • @nascentone
    @nascentone 5 місяців тому +8

    for everyone whose output is not showing after following these instructions .
    just press ctrl + s and then try running . i wasted 2 hrs figuring this out . The hello world we are writing was not being saved thats why it was showing no output.

    • @mridulchadha8292
      @mridulchadha8292 2 місяці тому

      thank u man i was trying to resolve this issue from the past 1 hour.
      u really are a saviour

    • @Animegod129
      @Animegod129 28 днів тому +2

      You're a hero man I was literally about to quit javascript😅😅

  • @Beyatchenator
    @Beyatchenator 18 днів тому +2

    Thank you so much! The small 1 sec basics you explained help immensely!

  • @CreatorsExpress
    @CreatorsExpress Рік тому +13

    After days I am finally able to do this! Thanks so much!
    Now I can do it from power shell and cmd.
    If anyone is having trouble, make sure your js file is in the folder you’re using in terminal. Lol

    • @KRooks-ow6md
      @KRooks-ow6md 4 місяці тому

      Hi, I am dealing with the same problem as you could you share how you solved it, thanks!

  • @teclues3893
    @teclues3893 8 місяців тому +43

    im still confused

  • @SA-rr1oy
    @SA-rr1oy Рік тому +56

    Everything was explained so well and not only did you explain the bare minimum but also added some extra ways to do the same thing and went out of your way to over-explain some things that would seem obvious to experienced programmers but not beginners. You are a gift to this world, seriously, thank you!

  • @SkanderTALEBHACINE
    @SkanderTALEBHACINE 8 місяців тому +3

    PLease, could anyone give me the link to the javascript shown above about writting hello world in an html page (on the browser) ? thanks

  • @Pratyush_Nayak99
    @Pratyush_Nayak99 Місяць тому +1

    i hv already installed nodejs and checked the version and code on cmd every thing is right but when i open a folder and run a file with format (.js) as u said there is not showing highlighed code and not executed in vs code terminal. what i'll do sir?

  • @pawegolankiewicz6748
    @pawegolankiewicz6748 2 місяці тому +2

    I was surprised that VSC doesn't have any JS code runner in standard. Now, after installing the recommended extension everything is going great. Many thanks for your advice!

  • @skillhorizon
    @skillhorizon 9 місяців тому +4

    Thank you . Explanation is so useful for any beginner. Thank you so much.

  • @-SKULL-
    @-SKULL- 7 місяців тому +1

    It does not show anything when I type the code

    • @milkAndHoney1277
      @milkAndHoney1277 6 місяців тому

      Me too. Did you end up figuring it out?

    • @nascentone
      @nascentone 5 місяців тому

      @@milkAndHoney1277 did you end up figuring it ? i m facing the same problem

  • @janpherquinones8522
    @janpherquinones8522 7 місяців тому +1

    My code don't run

  • @FrandWebINC
    @FrandWebINC 4 місяці тому +1

    When I run the command prompt it doesn’t print hello world for me what am I doing wrong?

    • @mridulchadha8292
      @mridulchadha8292 2 місяці тому

      i am facing the same issue.
      if your issue is resolved plz help me
      thanku !!

    • @mrymkh-j6f
      @mrymkh-j6f Місяць тому

      @@mridulchadha8292 correct your path either by typing the command in the terminal or by setting the path in the systems environment variables.

    • @mridulchadha8292
      @mridulchadha8292 Місяць тому

      @@mrymkh-j6f thank u

  • @jeweliaroy8559
    @jeweliaroy8559 Рік тому +6

    Thank you so much for this, much needed one. ❤

  • @TwiceSanamina
    @TwiceSanamina Місяць тому +1

    Thank u so much sir you solved all my problems in just one video.

  • @AmanKumar-ec6bz
    @AmanKumar-ec6bz 2 місяці тому +1

    All clear 😊

  • @fajaranggara8633
    @fajaranggara8633 Рік тому +2

    terminal in my visual studio code can not recognized node,. how can i fix it??,.
    node : The term 'node' is not recognized as the name of a cmdlet,
    function, script file, or operable program. Check the spelling of the
    name, or if a path was included, verify that the path is correct and
    try again.

    • @ArnavAg
      @ArnavAg Рік тому +4

      add C:\Program Files
      odejs\ to path

    • @AEURRR
      @AEURRR Рік тому +3

      kill terminal there is button click that and kill terminal, then restart vscode
      u should be fine, at least worked for me

    • @gouravthakur1995
      @gouravthakur1995 7 місяців тому

      it worked bro thanks@@AEURRR

  • @mayanr.williams
    @mayanr.williams 10 місяців тому +3

    Eu agradeço pelo vídeo, resolveu minha questão!

  • @Bubble_gum_fairy
    @Bubble_gum_fairy 4 місяці тому

    I love coding but vs code making ot complex
    Litterally I hate. It

  • @BurnsHiram
    @BurnsHiram 29 днів тому

    Walker Christopher Walker Amy Wilson Barbara

  • @mildredthorndike6549
    @mildredthorndike6549 9 днів тому

    Lee Angela Thomas George Martin Jeffrey

  • @saurasischakravorty2700
    @saurasischakravorty2700 10 місяців тому +1

    Thankyou very much sir 🙏🏻

  • @WilcoxMeroy-y5y
    @WilcoxMeroy-y5y 13 днів тому

    Young Maria Martinez Nancy Lee Kenneth

  • @EbinezarSamuvelD
    @EbinezarSamuvelD 17 днів тому

    Thank you its very helpfull

  • @StamandCreations
    @StamandCreations Місяць тому

    mine says "Server Running" and that's it...doesn't give a local address at all..I manually entered the local address on the web browser and it doesn't work/load.. what am I doing wrong? The directories are correct.

  • @melissaverdezoto7097
    @melissaverdezoto7097 17 днів тому

    Bro,thank you so much,I had such a hard time trying to get javasript until I found this video.🤝🗿🔥

  • @raid3rraptorzz434
    @raid3rraptorzz434 8 місяців тому

    I copied the code for the simple website that says hello world but the hostname and port in 'Server running at ${hostname}:${port}/' arent blue and when i run it is just says Server running at ${hostname}:${port}/ can some one help identify the problem?

  • @dikshakumar5872
    @dikshakumar5872 7 місяців тому

    I followed the same steps but my output is not coming in the output section. It is still in the terminal, what should I do?????????????????????Pls help

  • @igothashlightweedwhatdoyou9131
    @igothashlightweedwhatdoyou9131 6 місяців тому

    in vscode when i press run it just says
    [done] exited with code=0 in 3.299 seconds
    but no hello word appears

  • @Z-bt6yi
    @Z-bt6yi 2 місяці тому

    Hi,I followed the tutorial but the terminal keeps giving error or there wont be any changes on it what should I do?

  • @kelvinmunene2368
    @kelvinmunene2368 Рік тому +1

    mine does not printout Hello World

  • @thetiana1122
    @thetiana1122 3 місяці тому

    corret please it s not framwrok

  • @mukuldagur5235
    @mukuldagur5235 Місяць тому

    Bhai very very thankful

  • @burmesebbi3910
    @burmesebbi3910 2 місяці тому

    How to open terminal in folder?

  • @deepalivarshney23
    @deepalivarshney23 3 місяці тому

    it is running but it do not give me the output of the program . what can i do?

    • @merit8143
      @merit8143 2 місяці тому

      I am having the same issue

  • @DivyaB-ik7ht
    @DivyaB-ik7ht 22 дні тому

    Tq sm u really help a lot today

  • @jashanpreett__
    @jashanpreett__ 5 місяців тому

    on my vscode it says , the term 'node' is not recognized as the name of a cmdlet

    • @Mr_Rajguru_94
      @Mr_Rajguru_94 5 місяців тому

      you have to download additional tools
      or just make sure both are in same disk

  • @manishakanhar2784
    @manishakanhar2784 7 місяців тому

    😊

  • @MelissaHall-g8q
    @MelissaHall-g8q 19 днів тому

    Schultz Motorway

  • @hiranmaysarkar1641
    @hiranmaysarkar1641 21 день тому

    Thank yoy very much❤

  • @Homeskks
    @Homeskks 2 дні тому

    Scammer hai

  • @marykommu8943
    @marykommu8943 3 місяці тому

    Thank u so much for wonderful explanation for beginners

  • @alfagaming4
    @alfagaming4 8 місяців тому

    thank you soo much it's very helpfull video for me i can't understand how to setup vscode for javascript and how to run program in vscode 😌👍👍

  • @motlalepula_s01
    @motlalepula_s01 Рік тому +1

    yo, this i needed this give thanks

  • @PriyuGawade
    @PriyuGawade 2 місяці тому

    Link please to node js

  • @Gulisenpai
    @Gulisenpai 4 місяці тому

    This is exactly what i was looking for . Thanks bro. Well explain💯

  • @pokesenei0993
    @pokesenei0993 2 місяці тому

    when i enter node in command promt it wont execute and my code is not ruuning in vs code too plzzz let me know the solutions

  • @secretplace5359
    @secretplace5359 27 днів тому

    This was really helpful. Thank you so much.

  • @OmkarKadergu
    @OmkarKadergu 7 місяців тому

    fab! sir now I ca run it without installing node.js saved my time and effort by code runner extention

  • @mukuldagur5235
    @mukuldagur5235 Місяць тому

    Bhai thanks ❤❤❤❤❤

  • @mohammadissa5958
    @mohammadissa5958 2 місяці тому

    Thank you so much

  • @nettihindu2232
    @nettihindu2232 2 місяці тому

    Thank you for giving clarified information

  • @sherija97
    @sherija97 26 днів тому

    Thank you! ❤

  • @jarintasnimsnigdha6821
    @jarintasnimsnigdha6821 2 місяці тому

    It was constructive... Thank you

  • @rawatabhay1211
    @rawatabhay1211 4 місяці тому

    Thanks a lot bro...
    This is what I want to do.
    thankyou so much🫰👌👌👌👌👍👍👍👍👍👍👌👌

  • @vivek-hr6bq
    @vivek-hr6bq 5 місяців тому

    too helpful than i expected broww...😇

  • @Ghost__Editor
    @Ghost__Editor 4 місяці тому

    thanks bro

  • @lakshyaahir7232
    @lakshyaahir7232 3 місяці тому

    useless for me

  • @the_passion_4me
    @the_passion_4me 3 місяці тому

    Still not running my code😢

  • @dikshakumar5872
    @dikshakumar5872 7 місяців тому

    I followed the same steps but my output is not coming in the output section. It is still in the terminal, what should I do?????????????????????Pls help

    • @mrymkh-j6f
      @mrymkh-j6f Місяць тому

      what kind of error are you getting? it is about "node not found" then correct your path either by typing the command in the terminal or by setting the node's path in the systems environment variables.

  • @TefoLoneSetlalemore
    @TefoLoneSetlalemore 3 місяці тому

    Thanks 👍

  • @Ethio_cyber
    @Ethio_cyber 4 місяці тому

    thank you very much really it work ❤❤❤❤❤❤

  • @zeusbgmi6476
    @zeusbgmi6476 7 місяців тому

    This is what perfection means❤‍🔥

  • @ravindrasarode6752
    @ravindrasarode6752 Рік тому +1

    Thank you so much especially for that extension is the advanced info for beginners

  • @eugeneasare8256
    @eugeneasare8256 4 місяці тому

    Thanks for the insightful video

  • @haniyashaik2003
    @haniyashaik2003 4 місяці тому

    Such a wonderful explanation

  • @syedazharmohiuddin3007
    @syedazharmohiuddin3007 8 місяців тому

    Hello 😢 for me logo is not cmg and my code is also not running 😢

  • @yashwitham2934
    @yashwitham2934 11 місяців тому +1

    It is veryyy clear sirr...❤

  • @heinyved6421
    @heinyved6421 3 місяці тому

    so many helpfull insights thank you

  • @pitchaimurugan2728
    @pitchaimurugan2728 9 місяців тому

    Thank u very good explain😅

  • @georgigazeto4650
    @georgigazeto4650 10 місяців тому

    Thx for the great video. I recognized that u were also using dev c++. Why not CodeBlock? I always had troubles with dev c++.

  • @dorvay1910
    @dorvay1910 5 місяців тому

    Excelent tutorial, exactly what I needed.

  • @SagarShrestha78789
    @SagarShrestha78789 3 місяці тому

    Why I need to save before running

  • @SleepyAizawa69
    @SleepyAizawa69 2 місяці тому

    Noice

  • @hackergaming415
    @hackergaming415 6 місяців тому

    My code is not running please help

  • @vinayachanta9623
    @vinayachanta9623 4 місяці тому

    Thank you much it really helps me

  • @NoobBg478
    @NoobBg478 4 місяці тому

    My code doesn't run

  • @RavenPlusPlus
    @RavenPlusPlus 5 місяців тому

    Noice

  • @middleclassgaming1645
    @middleclassgaming1645 5 місяців тому

    Tq sir easy to learn this vedioa

  • @bermudatriangle94
    @bermudatriangle94 6 місяців тому

    'node' is not recognized as an internal or external command,
    operable program or batch file.

  • @Bbqeee
    @Bbqeee 7 місяців тому

    Thank youuu

  • @adarshgraadhu7038
    @adarshgraadhu7038 4 місяці тому

    Thanks for this Video

  • @kedarpatil2295
    @kedarpatil2295 3 місяці тому

    ThankYou soo much Sir

  • @Moodboosters88
    @Moodboosters88 10 місяців тому

    Prompt and alert not working

  • @ShoaibUrRehman-ce7sw
    @ShoaibUrRehman-ce7sw Рік тому +1

    Very helpful video sir💥

  • @Roma123-p4l
    @Roma123-p4l 7 місяців тому

    I Rasha

  • @initeshkr
    @initeshkr 3 місяці тому

    Done. Thank you so much

  • @Gulshankumr-o6r
    @Gulshankumr-o6r 5 місяців тому

    I don't understanding 😢

  • @keshav.chandel.439
    @keshav.chandel.439 4 місяці тому

    Bro its saying that node is not recognised as an internal or external command, operable program or batch file

    • @mrymkh-j6f
      @mrymkh-j6f Місяць тому

      correct your path either by typing the command in the terminal or by setting the path in the systems environment variables.

  • @vishwavaghela8725
    @vishwavaghela8725 4 місяці тому

    Thank you so much sir

  • @aashu9893
    @aashu9893 9 місяців тому

    thankyou very much

  • @Santoshichaudhary-vw4yn
    @Santoshichaudhary-vw4yn 8 місяців тому

    Thank you so much sir

  • @ichauchich6543
    @ichauchich6543 Рік тому +1

    Really good video :D! Thx a lot !

  • @VivekTyagi-qs8eg
    @VivekTyagi-qs8eg 5 місяців тому

    Love you bhai❤💞

  • @sumit32108
    @sumit32108 Рік тому +2

    So exact and to the point ❤

  • @themilesroarkexperiment1662
    @themilesroarkexperiment1662 9 місяців тому

    Great vid. Thank you.

  • @sorryeditz9143
    @sorryeditz9143 9 місяців тому

    SALAM BHAI