Using Sublime Text to edit code
We use Sublime Text because it is a colorized and highlighted syntax text editor and we can identify the code easily. Furthermore, Sublime Text is available for OS X, Windows, and Linux. In order to work with Sublime Text, follow these steps:
Visit the following website: https://www.sublimetext.com/ .
Click on Download, as shown in the following screenshot:
Download Sublime Text for free in order to evaluate it and then a license must be purchased to continue using it, as shown in the following screenshot:
After installing Sublime Text, run it.
Copy the code that has just been edited from the Moodle course.
Paste it in Sublime Text, as shown in the following screenshot:
The text is plain without any colors whatsoever. Click on View | Syntax | CSS, as shown in the following screenshot:
The code looks colorized and highlighted, as shown in the following screenshot:
Tip
Because the code is colorized and highlighted and not just plaintext, it allows us to more...