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 trial

Ruby Build a Simple Ruby on Rails Application Frontend Development Layouts

Rails 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
Stone Preston
42,016 Points

it says add an a tag, which I would think would be <a></a>

so i can leave out he href and it would still be correct???

Stone Preston
Stone Preston
42,016 Points

you may need an href attribute, but it can probably be anything. empty quotes or just any website.

is it considered an anchor? or its just called an "a tag"?

Stone Preston
Stone Preston
42,016 Points

both. a stands for anchor. so you can refer to it as an a tag, an anchor tag, link etc

oook thanks!!