how to run code from sublime text code example

Example 1: how to run your code in sublime text

Step1: Go to tool this is loacted at the top 
Step2: click build 

Shorcut: a shortcut to run it is ctrl+b

Example 2: how to run html code on browser via sublime text

Steps to Follow:

1.Press Command-Shift-P (if you use a Mac) & Ctrl-Shift-P (if you use Windows) 
to open the Command Palette.

2.Type Install Package until you see that
"Package Control: Install Package" is selected. Press Enter.

3.In the text box, start typing View In Browser until that package is selected.
Once it is, press Enter to install it.

4.Restart Sublime Text.

5.Right Click anywhere on screen and select option : open in browser

6.Bingo! you will land yourself to respective browser and can view your webpage.

Tags:

Html Example