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 trialQamar amir
633 PointsI am on my mac using TextEdit and I'm not sure what file format i should save my work for it to upload as a webpage
can someone tell me what file format to save my work so it can show on a web page.
9 Answers
Michael Hulet
47,913 PointsJust save it with the proper extension for the language that it's written in.. HTML is .html, CSS is .css, and JavaScript is .js
Qamar amir
633 Pointswhen i am doing that all my tags are still showing on the webpage
Michael Hulet
47,913 PointsThat means that there's a syntax error in your HTML somewhere. It sounds like you didn't close a tag somewhere
Michael Hulet
47,913 PointsIf you give me a link to your site, I might be able to help find the problem
Mo Daka
Courses Plus Student 10,363 PointsYes, what Michael Said. If you can copy and paste your code here so we can have a look I'm sure we can help you nail down the issue.
:)
Jason Anello
Courses Plus Student 94,610 PointsHi Qamar,
TextEdit is a word processor and would need to be configured to work with text files. I recommend that you switch over to a dedicated text editor like sublime text. You can do a search for "Mac text editor" to get some other options.
Qamar amir
633 Pointsits difficult to explain, all my tags are showing on my webpage because i think the file format is not the correct one
Michael Hulet
47,913 PointsCould you post a link to your site? That way we can see all the code and how its set up, which will help us a lot in helping to find and fix the problem
Qamar amir
633 Pointsi don't have a link to my site, I'm just starting off and whatever i type on textedit just comes up on a webpage, if that makes any sense
Michael Hulet
47,913 PointsI see. You're just developing locally. In that case, please follow the Markdown Cheatsheet (right under the new comment box on this page) to post all of your HTML here
Qamar amir
633 PointsThanks a lot guys i found out what the problem was, it was to do with my TextEdit was not set to plain text but was set to rich text, a little complicating to understand
edwin scott
6,043 PointsI am having the same problem. Could you please explain what you did so I can try on textedit on my mac? Thanks!
Jason Anello
Courses Plus Student 94,610 PointsHi Edwin,
You either have to configure textedit to work with plain text files or switch to a dedicated text editor.
Try a search for "configure textedit to work with text files" or if you want to switch to a text editor then try searching for "mac text editor"
There's a few recommendations on this page.
Mo Daka
Courses Plus Student 10,363 Pointsif it's the html save it as .index if it is your css save it as .css
Nure MĂ©xico
25,840 PointsIt won't work if it's .index, it should be index.html
edwin scott
6,043 PointsThis is what I got so far but all my tags are showing on my webpage. What do I have to do to fix the problem?
<!doctype html>
<html lang=“en”> <head> <meta charset=“utf-8”> <title>My Page</title> </head> </html>