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!
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
Shin Mahilum958 Points
"Tags in a docblock start with which character?" This question was asked in the quiz, and my answer is asterisk (), but it says that may answer is wrong. So i reviewed the video, but the video clearly says that in docblock it starts with the character asterisk (). Can someone explain this?
Lines in a docblock starts with an asterisk, but tags does not. Tags weren't actually explained much at all in the video so it's understandable that you would be confused.
Tags allow you to specify various things like the author of an element, and other meta information like what parameters a function takes and what it returns. Tags start with the @ symbol. You can read more about them here.