Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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