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 trialAlvin Liang
12,246 PointsRails Development challenge 5/5
Add an a tag with the class "brand" and the content "Treebook"
Just a question... it says "a tag"... was confused because i thought it wanted a <tag></tag>
. But my question is if this "a tag" is considered an anchor for hyperlink ref... or its is what it is in ruby...
4 Answers
Stone Preston
42,016 Pointsit says add an a tag, which I would think would be <a></a>
Alvin Liang
12,246 Pointsso i can leave out he href and it would still be correct???
Stone Preston
42,016 Pointsyou may need an href attribute, but it can probably be anything. empty quotes or just any website.
Alvin Liang
12,246 Pointsis it considered an anchor? or its just called an "a tag"?
Stone Preston
42,016 Pointsboth. a stands for anchor. so you can refer to it as an a tag, an anchor tag, link etc
Alvin Liang
12,246 Pointsoook thanks!!