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 trialjoseph griffith
109 PointsJust beginning and this doesn't make sense to me
treehouse:~/workspace$ <h1>Joe Griffith</h1>
-su: syntax error near unexpected token `newline'
treehouse:~/workspace$
I am trying to follow along with the video and where the instructor says you can now hit enter to create new lines. When I do this I get the preceding message, what am I doing wrong /
Kevin Scanlon
1,248 PointsCan I see the code that you're working with please? Thanks!
5 Answers
Brandon White
5,817 PointsHello Joe,
Right now it appears that you are typing directly into the terminal. The terminal has a tab that reads, 'console', and it isn't recognizing your name as adhering to the proper syntax, so it just keeps resetting.
Try clicking on 'file' in the top-right corner of your workspace. Select new file, then give your file a name ending with the extension '.css', for example 'mystylesheet.css'. This will open up a new css file beside your index.html. This new file will be the file that you key into.
Hope that helps.
joseph griffith
109 PointsJim, Kevin, Brandon thank you gentlemen for coming to my assistance, I seem to understand the written word better than the visual these video are going to be a challenge for me. I had to write out the instructions while watching the video then apply to the work sheet, I kept leaving out steps in the code or putting them in the wrong place. Once again, thank you all very much!
Jim Withington
12,025 PointsWhatever works for you--learning is funny like that! I find myself typing along and pausing the movies a lot, because that works for me.
joseph griffith
109 PointsThe html course 3rd lesson about using color.
joseph griffith
109 PointsSorry Kevin the course is How to make a website, add style to the page. Any help would be greatly appreciated.
Jim Withington
12,025 PointsAny luck based on what I wrote?
joseph griffith
109 PointsNot really Jim I'm following along with the instructor using the work pace provided with the course, I'm probably missing something simple but don't seem able to find out what. There are 3 questions to finish the section I can understand and finish 2 but the 3rd just tells me no not the right answer. I do appreciate you trying to help but I don't understand the process I guess.
Jim Withington
12,025 PointsJim Withington
12,025 PointsHi Joseph!
From what you posted there, you seem to be working in some sort of command line interface for the course. Instead, you should be typing into your Workspace for the course. You can access it by clicking Launch Workspace at the bottom of the lesson's site. It should also be available in the sidebar.
Hope that helps!