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 trialChris Shaffer
12,030 Pointspets.js is not updated - same Workspace
This video uses two additional objects which apparently should appear in pets.js but do not - I have the same workspace as the previous video with my same code.
Not a big deal, but I can't "Report Video" on this either so I thought I'd post it here.
16 Answers
Michal Bednář
9,415 PointsAt least what I could do until Team Treehouse updates current "bad" workspace, I prepared the code Ashley has there on the start so other student can just copy and paste it:
const ernie = {
animal: 'dog',
age: '1',
breed: 'pug',
bark: function(){
console.log('Woof!');
}
}
const vera = {
animal: 'dog',
age: 8,
breed: 'Border Collie',
bark: function(){
console.log('Woof!');
}
}
const scofield = {
animal: 'dog',
age: 6,
breed: 'Doberman',
bark: function(){
console.log('Woof!');
}
}
const edel = {
animal: 'dog',
age: 7,
breed: 'German Shorthairder Pointer',
bark: function(){
console.log('Woof!');
}
}
Kevin Gates
15,053 PointsMichal Bednář <-- this is why we have nice things.
Michael Macdonald
34,265 PointsChur Michal ! !
chels17
7,762 PointsThank you!!
Rami Saleh Alsayed
Front End Web Development Techdegree Graduate 13,484 PointsThank you !
Jonathan Tucker
Ubora | Web Development Techdegree Student 16,987 PointsHello everyone. I discovered that when this situation occurs you will need to delete your workspace. Deleting the workspace then provides an updated version. It's super annoying, but remember Treehouse has hundreds of Workspaces that are constantly update.
Anwar Montasir
Treehouse TeacherThank you for posting the correct code Michal Bednář, and my apologies that it took us so long to make this correction. The correct workspace should be attached to this video now.
Steve Ramirez
Courses Plus Student 845 PointsYou the best, Michal!
Doris Keller
Front End Web Development Techdegree Graduate 47,927 PointsThank you Michal!
Max Datskovsky
18,582 PointsThanks Michal!
Juan Nunez
Full Stack JavaScript Techdegree Graduate 21,541 PointsThanks Michal!
Elise Bucciarelli
Full Stack JavaScript Techdegree Graduate 17,562 PointsThank you so much Michal!
Jorge Lopez
Python Development Techdegree Graduate 35,350 PointsThanks Michael!
Raymond Popsie
10,703 PointsThank you!
Erica Collier
Full Stack JavaScript Techdegree Graduate 14,416 PointsThanks Michal!
Rob Kramers
12,732 PointsStill same problem but thanks Michal!
emmanuel egunjobi
4,475 PointsThanks Mike!
A S
7,485 PointsThanks, Michal!
I fixed the issue by deleting the workspace and launch a brand new one by clicking on the "Launch Workspace"
Muhammad Khan
Courses Plus Student 8,772 PointsThanks, Anwar Montasir.
Michal Bednář
9,415 PointsMichal Bednář
9,415 PointsI agree, there is a workspace from the previous video, but not an actual workspace for the current video
Maybe Ashley Boucher should check this out :)