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 trialUSHASHA RODRICK MANJE
5,445 Pointsmy new target "_blank"
tag is not working well, the link is opening on the same page?
2 Answers
jamesjones21
9,260 Pointshi,
you may have forgotten the = sign:
target="_blank"
USHASHA RODRICK MANJE
5,445 Points@James Jones I failed to paste above, here is my code; <li><a href="https://twitter.com/rodymanje" target"_blank" class="social twitter">Twitter</a></li>
jamesjones21
9,260 Pointspaste that into your work
<li><a href="https://twitter.com/rodymanje" target="_blank" class="social twitter">Twitter</a></li>
jamesjones21
9,260 Pointswhere your target attribute was it needed a equal sign. Your one was target"_blank" where it needed to be target="_blank".
Please mark this as answered :)
USHASHA RODRICK MANJE
5,445 PointsUSHASHA RODRICK MANJE
5,445 PointsI deed put the = but still the same, I am using Edge as my browser if it has any effects
jamesjones21
9,260 Pointsjamesjones21
9,260 Pointscan you show me your code?
Paste it between in your next comment between:
<code here>
USHASHA RODRICK MANJE
5,445 PointsUSHASHA RODRICK MANJE
5,445 Points<li><a href="https://twitter.com/rodymanje" target="_blank" class="social twitter">Twitter</a></li>
USHASHA RODRICK MANJE
5,445 PointsUSHASHA RODRICK MANJE
5,445 Points<li><a href="https://twitter.com/rodymanje" target="_blank" class="social twitter">Twitter</a></li>
this did it, but where was I going wrong?
USHASHA RODRICK MANJE
5,445 PointsUSHASHA RODRICK MANJE
5,445 PointsThank you so much!