Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Bobur Azimov
Bobur Azimov
2,547 Points

how do I check my html code ? I wrote it on Atom but couldnt figure out how to run it or preview it ..Thanks

how do I check my html code ? I wrote it on Atom but couldnt figure out how to run it or preview it ..Thanks

2 Answers

The easiest way is to open your .html file in a browser like Chrome, Safari, or Edge. I usually just double click the file on my computer (outside of Atom) and it opens in Chrome automatically. Every time you save your HTML file, you'll need to refresh your browser window.

There are also packages for Atom that have auto-preview. https://atom.io/packages/atom-html-preview

Fran ADP
Fran ADP
6,304 Points

Save your file and test it in a browser's tab.