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

JavaScript

Simon Latham
PLUS
Simon Latham
Courses Plus Student 6,261 Points

FizzBuzz... with a hint of HTMLemon

My 'twist' to the FizzBuzz Challenge is here.

Essentially, I used the for loop to generate an HTML structure around the result of each iteration.

I'd like to say how surprised I am that something created internally can only be shown to members by using an external facility that is of no relation to Team Treehouse, forcing the need to unnecessarily (IMHO) copy and paste code as a result.

Here's a challenge for you, Team Treehouse.

Slogan: A leaf from Team Treehouse's workspace branch.

Challenge: give members the option of sharing a workspace preview, inclusively.

Benefits:

  • Same platform, so members will get same view (set aside the normal browser compatibility issues)
  • Eliminates the need for copying/pasting to the likes of CodePen, JSFiddle, etc...
  • Members will feel even more inclined to share work.

2 Answers

Hi, Simon. The workspaces are private, so you're the only one who can see them. If you want to share with other students, you'll have to use something like CodePen or JSFiddle.

Hi Simon Latham, Workspaces now has a snapshot option! This is at the upper right corner of workspaces. It allowes you to view someone's code without changing it! The only bad thing is that you can't copy the Workspace, you just have to fork it.

Hope it helps! ISAIAH S