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
Andrew Shipley
7,781 PointsSetting Up Relative Length Units Lesson in Workspaces
Hi I am having a similar issue as before. When I set it up I just get a black background with "Relative Length Units" in white at the top with an empty white rectangle below it. I changed "relative-units.html" to "index.html"
Can someone tell me how to set it up please?
Thanks.
10 Answers
Michael Hicks
24,208 PointsI'm not sure about this one. I can only recommend doing this exercise in an independent text editor. It seems to work fine in Sublime Text 2 and similar software. You should contact support if you really want to make it work in Treehouse Workspace. I'm sure they'll be able to help, but you shouldn't let this slow you down, you've got a lot more you can do in other courses. So go forth and conquer!
Michael Hicks
24,208 PointsCould you explain in greater detail what you are trying to accomplish? What Lesson? Where can we find it? What you're trying to accomplish? Exactly what's not working? Then I'm sure someone will be able to assist you.
Andrew Shipley
7,781 PointsHi Mike,
The lesson is this one "Relative Length Units" I am just trying to set up the Workspaces so I can follow along, but wasn't able to.
Michael Hicks
24,208 PointsThere might be a problem with your Workspaces. Does this happen with other courses? If it is a constant problem you should contact support.
Also, you can still follow along with a text editor until the problem is resolved. You can use Sublime Text, Notepad++, or other software which you will eventually want to familiarize yourself with. Working in Workspaces is great, but working with an independent text editor allows you to edit code without having to be logged into Team Treehouse.
Andrew Shipley
7,781 PointsHI Mike, the issue is just a particular lesson where the files you download are different. Its not an issue with workspaces itself. Thanks.
Andrew Shipley
7,781 PointsThanks for your encouragement Mike!
Michael Hicks
24,208 PointsNo problem, now get to it!
Guil Hernandez
Treehouse TeacherHi Andrew Shipley,
Can you please post an example of the code you're using to link to the style sheets? Thanks!
Andrew Shipley
7,781 PointsHi Guil,
Here are some screen shots of what it looks like when I preview it and how I have my workspace set up. http://postimg.org/image/p9og2yzul/ http://postimg.org/image/apvvjb2j3/
Andrew Shipley
7,781 PointsHere's the code
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Relative Length Units</title>
<link rel="stylesheet" href="page-styles.css">
<link rel="stylesheet" href="relative-length-units.css">
</head>
<body>
<h1>Relative Length Units</h1>
<div class="box">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</div>
</body>
</html>
Guil Hernandez
Treehouse TeacherThanks, Andrew Shipley. Strange, I just ran a test in a Workspace and everything worked just fine. Can you download the Workspace and post your files here so that we're able to take a look?
Thanks!
Andrew Shipley
7,781 PointsHi Guil,
I know how to download it but not how to paste it here. Could you pleas explain?
Thanks
Andrew Shipley
7,781 PointsHi,
I am still unable to set this lesson up in workspaces.
I am confused about what files go where because we have a "font relative length units" folder as well as a "viewport relative" folder.
I have been doing the CSS layout techniques in the mean time and I had no such problems.
Could anyone who has completed this lesson please describe which files go where, it would be much appreciated.
Thanks!