๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐ŸŒŒ | WEB DEV/Vanilla JS

JS_์ฝ”๋”ฉํ™˜๊ฒฝ ๊ตฌ์ถ•(w. VSCODE)

by KASSID 2022. 2. 7.

๋ชฉ์ฐจ

    728x90

    JS์˜ ์ฝ”๋”ฉํ™˜๊ฒฝ์„ vscode๋ฅผ ์ด์šฉํ•ด์„œ ๊ตฌ์ถ•์„ ํ•ด๋ณด์•˜๋‹ค!

     

    1. ํด๋”์ƒ์„ฑ ํ›„ .jsํŒŒ์ผ ๋งŒ๋“ค๊ธฐ

    (ํŒŒ์ผ๋ช…).js ๋กœ ์ƒ์„ฑ์„ ํ•œ๋‹ค.

     

    2. node.js ์„ค์น˜

    https://nodejs.org/ko/download/

    ํ•ด๋‹น OS์— ๋งž๋Š” ๊ฒƒ์œผ๋กœ ์„ค์น˜

     

    3. Code Runner(extension) ์„ค์น˜

    4. Run By Language (ctrl + Alt + j)

    ctrl + k , ctrl + s (๋ฐ”๋กœ๊ฐ€๊ธฐ ํ‚ค)์—์„œ

    coderunner๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋ฉด

     

    ์œ„์™€ ๊ฐ™์€ ํ™”๋ฉด์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ

     

    ์ด ์ค‘ Run By Language (ctrl + Alt + j)๋ฅผ ์ž…๋ ฅํ•œ๋‹ค.

    javascript๋ฅผ ์„ค์ •ํ•œ๋‹ค.

     

    5. Run code (ctrl + Alt + n)

    ์ฝ”๋“œ๋ฅผ ์‹คํ–‰์‹œํ‚จ๋‹ค!

     

    ๋Œ“๊ธ€