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 trialCaleb Kleveter
Treehouse Moderator 37,862 PointsInstance Variables and Local Variables
What's with the stars around 'instance variables' in this quiz?
2 Answers
Salman Akram
Courses Plus Student 40,065 PointsHi Caleb,
I don't know why there are some stars around the variables names. I think, double stars should automatically put BOLD styles via markdown
However, we learn the instance variables always comes with the @ symbol. For example: @item_name
IF your variable doesn't comes with the same @ symbol, it is considered to be a local variable. For example: item_name
Caleb Kleveter
Treehouse Moderator 37,862 PointsThat's what I thought, I just wasn't sure.