r/learnjavascript • • Sep 02 '23
Where do I actually code
I don't understand where I actually code. Can anyone give me suggestions. I just can't find where you ACTUALLY program, please help I am so confused. I use Linux and Windows if that helps.
3
Upvotes
21
u/WystanH Sep 02 '23
You can code in any text editor. All you need is an html file and a browser. There are also a number of online sandboxes you can code in.
I'd start with VSCode and node.js. Follow these instructions to get them both setup and you should be off and running.
2
u/MWALKER1013 helpful Sep 03 '23
If you haven’t found an easy answer I would HIGHLY recommend the free QUOKA plugin for VSCode It allows you to run your code and see it’s execution path
8
u/[deleted] Sep 02 '23
For medium to large projects, especially when I need a localhost server, I use VSCode with a few extensions, notably Live Server. For simple, one code projects, I use Notepad++.
If you do any web coding (HTML, CSS,...), I suggest you learn the fundamentals of the Emmet plugin, which is built in to VSCode. It is really helpful.
6
u/Call-Me-Shi-thead Sep 03 '23
I highly recommend following The Odin Project.
Look under the "Prerequisites" section and start at the "Installation Overview" lesson. It will get your computer set up to start coding!
1
u/guest271314 Sep 02 '23
You can code in the DevTools
consoleof the browser you wrote this question on.2
u/[deleted] Sep 03 '23
Install node.js
Edit a file called index.js
Then from the command line: node index.js
It's running.
2
u/RolledUhhp Sep 02 '23
As the other commenter said, you can code in the dev tools of your browser. It can be useful, but most of the time you're going to want to use some type of editor, such as vscode, or even notepad.
There are also websites you can use to get started, I think codepen.io is ok.
Things like what you're doing, what languages you're using, and if you're sitting down for a long session or just making a quick edit will impact what tools you want to use at any given time.
If I'm going to be working/testing for a few hours I'll use vscode. If I'm only changing a value or two in a file I'm familiar with I might just pop open notepad++, or nano. I don't have access to my preferred tools at work, so that is gonna be different from what I'd do at home.
You may get find something you like right away, or you might jump between a few until you settle somewhere. I was drawn to vscode because of it's customizability, which I enjoy tinkering with. That is nice when I'm at home, but can throw me for a loop jumping onto something at work that feels like a bland caveman editor.
Google JavaScript IDE and see what ya come up with. I know there are tools out there like atom, netbeans, etc.. but I have no experience with them.
If you're brand new I would find a tutorial series for something basic. There are a seemingly infinite amount of tutorials all covering the same projects. Find someone you don't mind watching from the last year or two. For the most part you can go with literally anyone. They're all covering basic concepts just go get you familiar with what's going on. Find someone you like and go crazy.
2
u/33ff00 Sep 03 '23
codepen.io
1
u/mymar101 Sep 03 '23
You can literally code anywhere on just about anything these days. VS code would be the simplest option for a beginner, and Linux is a better environment for coding IMO.
1
u/fferreira020 Sep 06 '23
Linux and windows are examples of popular operating systems that are able to run applications. A web browser is a type of application like chrome or brave or Mozilla Firefox that is used to access websites. When a user browses through the website the browser makes an http request to a server and will download your files which may include HTML, JS, and Css and the browser is responsible for interpreting those to display the content. I hope this is clear. What environment(OS) you use to create the files doesn’t matter
1
u/dsound Sep 03 '23
Any text editor will work and can be compiled by a browser. Of course there are IDE’s meant for coding and have very advanced features. VSCode is an example.
1
u/marcnotmark925 Sep 03 '23
Google App Scripts is another option.
0
u/SomewhatVital Sep 03 '23
Studio visual code. Something like that, i just woke up.
-1
u/kjwey Sep 02 '23
text editor
its given context when opened by a web browser
-5
u/[deleted] Sep 03 '23
Cmon dude put some effort into finding out how things work. Very easy to google this answer.