Skip to content

Instantly share code, notes, and snippets.

@gforcedev
Created October 16, 2015 14:58
Show Gist options
  • Save gforcedev/5b9de7f353074e52bf75 to your computer and use it in GitHub Desktop.
Save gforcedev/5b9de7f353074e52bf75 to your computer and use it in GitHub Desktop.
  1. Live preview

Now, click the Preview button on the top bar (next to run). Select "live preview file", and then you will see your html file rendered on the right, as it would look in a browser. Now, your can add some things to your previous html file. Don't close the preview! I'm going to add a link to project tigr. I will put it between the </p> and the </body>.

<a href="https://www.project-tigr.co.uk">Go to tigr</a>

Can you see your preview updating as you type?

Click on your link. Nothing happens. This is because cloud9 is smart and knows that you probably don't want to go off the page you are on - your workspace.

This is good, as cloud9 can also host your test website for you. Let's do that now.

preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment