Before we start learning to write code, we need to have a place to write. We write code within software applications often called “Text Editors”. If you've ever written an essay for school before, you've used a text editor. Whereas those kinds of editors are built for writing text, there are other text editors out there that are designed strictly for writing code.
As you become more advanced, you'll find what features in text editors you find most useful. In addition, there are even text editors and “Integrated Development Environments”, or IDEs, which are designed with specific kinds of code-writing. These are all things you shouldn't have to worry about right now, but its useful to see the road ahead!
To get you started, we have two recommended text editors you can use for free. It's worth noting that we're not sponsored in any way to promote either of these options. In addition, both of these text editors also have paid options, but it's not necessary to download and start using them.
Visual Studio Code
It's hard to overstate how much Visual Studio Code, or VS Code for short, has become the standard text editor for the software development industry. Built by Microsoft, this app is a spiritual sibling to “Visual Studio”, which is an enterprise level IDE for various Microsoft built programming languages.
It's possible that you could start with VS Code, and never switch your Text Editor. It's highly extendable, with a marketplace of plugins and lots of customization options.
You can download VS Code here
Sublime Text 4
If VS Code is the Goliath of the industry, Sublime Text is closer to a David. Sublime Text is written and maintained by a far smaller team, and is a very lightweight application. However, with that lack of heft comes speed and ease of use, along with tons of functionality. Admittedly, Sublime Text was more of a standard a few years ago than it is now.
In addition, it doesn't have a true free version. Instead, you can download the main application, and simply never “register” when prompted. If this doesn't both you, and feel like trying out something a bit different, give Sublime Text a shot!
You can download Sublime Text 4 here
Other Options
Text Editors end up being a fairly personal choice for software developers. There are many people out there with strong opinions about how their regular application and setup is the best. Just know that most of the features that are listed on lists of pro's and con's really minor for those just starting out. If you're curious about exploring other options, keep in mind that some of the features of more advanced applications might get in the way of your personal development. Sometimes less is more.
If you're still not dissuaded though, there are lots of options out there. JetBrains makes a whole suite of IDEs for engineers. Of these, WebStorm is the IDE for Web Development (and the personal choice of the author, though not one they'd recommend to newcomers 😅). There's also Notepad++, a similar lightweight experience to Sublime Text. And then there's non-GUI based text editors like VIM, which while beloved by many, have a huge learning curve to pick up for newcomers.
If that's all a lot to take in...
If reading all of that makes you feel paralyzed by option, we can make it simple for you; just install VS Code. It's tried and true.
Next up, we'll talk about how we'll be using web browsers to actually view the output of your code!