CSS Treehouse Club: CSS My First Web Page Comments, Selectors, and Syntax

Comments, Selectors and Syntax

https://teamtreehouse.com/workspaces/17650412#

I have changed the font using google fonts but nothing has changed? What am I doing wrong?

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

I think there might be something wrong with your workspace. I get a 404 when I try to view that link. Try forking your workspace and then working in the fork.

10 Answers

Thanks Jennifer - its now working and I can see it. Thanks for your help.

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

Mike Hodgson Great! Glad you got it sorted out. Happy coding! :dizzy:

ahh, this has happened a couple of times - my workspace not linking. How do I link it?

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

Mike Hodgson The easiest way is to click the camera icon on the upper right hand side of the workspace to create a snapshot. Follow the link created then paste the URL here so we can take a peek :smiley:

thanks, I wondered how you linked it.

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

Mike Hodgson no, it doesn't work. Again click the camera icon on the upper right hand side. Then click take snapshot. Open the snapshot it creates and then copy and paste that link. It should look something like this:

https://w.trhou.se/ox92z7qis4

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

Mike Hodgson Yup! There you go :thumbsup: Now I can see the workspace. Let's see if I can now help you out here :smiley:

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

Mike Hodgson Ok I don't know if this is good news or bad news. The good news is that the Raleway font is working and I can see it. The bad news is that you can't (for some odd reason). But let's check some basics first. Have you saved and refreshed the page? Have you tried clearing your browser cache and then reloading the page or even tried looking at it in a different browser? I have a feeling the reason you're not seeing what I'm seeing is because your browser is loading in cached data instead of your new data.

Should I be working on the Fork Workspace?

Thanks. Could I just ask you one more thing? I need to send it as a screen grab though? How would I do this?

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

Ok you're sending it as a screenshot. Are you wanting to email it to someone or post it here? And what OS are you working with?

Im on a Mac. OSX El Capitan 10.11.2

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

If you want to get the whole screen do cmd + shift + 3. If you want part of the screen, use cmd + shift + 4 and your cursor should turn into a crosshair that will let you select a rectangle around what you want. If you want just one window (that's not full screen) to be selected do the cmd + shift + 4 and then mouse over it and press the space bar. This should just target that window. Then click one more time on the window. All of these will be saved to your desktop as a .png file.

Thanks Jennifer - I have the screen grab, just wondered how to upload onto the community?

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

To be honest, I have no idea. Most people though make a screenshot and post it to a public dropbox and share it out that way. I've seen some people post inline pictures here, but they were all forum moderators. Sorry :(

The link you provided does not work can you relink your work space? You have to include the google font then assign it.

<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>

You then have to set the font-family on what your trying to change

body {
font-family: 'Open Sans', sans-serif;
}