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 HTML Objects Includes and iframes

Link my text edit doc with the net

For my first text editor, I used Code Pen. Following Nick in the lessons, the code worked well here. Code Pen soon asked for money, so I copied my saved html to my Mac's text editor, then opened it in a web page: only actual code shows up. How can I fix this so that I can see the product or the code?

3 Answers

Hi Lee Ann,

Did you use Textedit? If you did that's a word processor and will cause you problems with your text files. You can configure it to work with text files but it's better to switch now to a dedicated text editor. Since you'll want to do it eventually anyways.

Sublime text is one you can try which works on windows, mac, and linux

You can search for "mac text editor" to see what's out there.

In the previous lessons he had us use Text Edit. It worked fine. Thanks.

I checked back to the very first introduction video and you're correct. He did suggest notepad on windows and textedit on mac but are you sure he actually used it anywhere?

It's been causing problems for everyone else that's tried to use it.

A few videos later in this one: http://teamtreehouse.com/library/html/introduction/global-structure-part-1 , Nick mentions that he's using textmate which is a text editor. You could look at that one too.

Whatever you decide to use I would make sure that it's a text editor and not a word processor.

Wilfredo Laboy
Wilfredo Laboy
2,019 Points

Also for code pen they don't use doctypes, so make sure you have:

<!DOCTYPE html>

at the top of your page.

Thanks so much. I did not find textmate when I looked for it on Chrome and in a google search earlier today upon reaching that lesson. Thus I tried two others. I am using the Chrome Text now.