Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress WordPress Theme Development Working with CSS and JS in WordPress Themes How to Link to JS from functions.php File

Nandita Narayan
Nandita Narayan
2,746 Points

How should I open index.html file in the static template

Hi, How should I open index.html file in the static template? I am unable to open it using text editor.

Thanks

2 Answers

Thomas Buchstab
Thomas Buchstab
14,766 Points

Which text editor are you using? Normally every text editor can open .html files. Happy coding!

Nandita Narayan
Nandita Narayan
2,746 Points

Hi Thomas, I am opening the file using Text Edit on my mac. But it doesn't show me the code. What am I am doing wrong?

Thomas Buchstab
Thomas Buchstab
14,766 Points

I am working on windows so i don't know TextEdit but i googled it and it seems to be a known problem. It can be fixed in the settings but i would recommend that you use a text editor like Brackets (the workspace here in treehouse is based on Brackets). TextWrangler might be also an option.

Here is a link to fix TextEdit: http://osxdaily.com/2013/01/14/view-html-source-code-textedit-mac-os-x/

Hope that helps. Happy coding!