how to run in sublime text 3 html code example

Example 1: how do i run code in sublime text

for javascipt, command B doesn't seem to work for me.
It does work for python programmers though. To code, 
I use Processing.

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