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 trialAndrew Alvarez
11,964 PointsClass
Challenge Task 1 of 2
Create a class called TodoList. It is not necessary to define an initialize method yet.
3 Answers
Heather Stone
5,784 PointsShould be very straightforward--you're creating an empty class with no methods or variables in it, so all you need to do is:
class TodoList
end
Sometimes if you include too much code you get a "Bummer!" but for this challenge this is all you need.
Samuel Cyrus
6,567 Pointsit still gives me an error that class not defined
Nicholas Evans
7,911 PointsMake sure that the "c" is not capitalized! I wasted about 10 minutes trying to figure out what I did wrong
Caleb Kleveter
Treehouse Moderator 37,862 PointsCaleb Kleveter
Treehouse Moderator 37,862 PointsHeather Stone , I thought I might let you know I changed your comment to an answer. This allows you to be up-voted, and awarded with best answer!