A text editor is a helpful tool used to format text when writing code. Choosing a “good” one is all about preference over features present in one versus another.
The list of notable features is expansive, but a few important ones revolve around making the process of writing “easier” through extensions, syntax highlighting, code completion, etc.
As simple and basic as they may be, a good starting point would be to use the text editor that should come pre-installed with your computer’s OS & explore a few others to get a feel of what you need and what you prefer.
Integrated Development Environments (IDEs) exist in the world of text editors, but add more features such as being a file manager, a compiler, debugger all bundled together in one.
Once you begin writing code, make sure to use proper organization and naming conventions (root / branch directories and extension file types).
pwd - print working directory; tells you the current directory you are in/viewingls - list; tells you the contents of current directorycd - change directory; followed by the name of directory you would like to move to, moves you there
cd. -cd.. - VVmkdir - make directory; creates directory (folder) within current directory. Cmd followed by “argument” will name directory as specifiedtouch - used to create blank files if the named file does not exist.
3.cd projects - will move from current directory to ‘projects’ directorymkdir new-project - will make new directory named ‘new-project’ within current directorytouch new-project/newfile.md -create new .md file named ‘newfile’ within new-project directory if it does not already exist and open itcd.. - will move directory up one level; effectively a “back page” buttonls projects/new-project - will list files within ‘new-project’ directory that is within ‘projects’ directory