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
Alexandra Cote
3,566 Pointsin my Twitter <li>, when I add the "?screen_name=username" portion to the href, the username on the page doesnt display.
when I input this line: <li class="twitter"><a href="http://twitter.com/intent/tweet">@mokk_me</a></li>
@mokk_me is displayed on the contact page in the 3rd buller point.
But when I add the "?screen_name=mokk_me" in the link (href) as follows: <li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=mokk_me">@mokk_me</a></li>
The third bullet point on the contact page shows blank. I'm not sure why this is happening.
1 Answer
Padraic Histon
8,460 PointsHi,
I think this isn't working for you because you have left out the additional quotation marks around mokk_me in the href. If you use the following instead it should work:
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name="mokk_me"">@mokk_me</a></li>
Hope this helps.
Alexandra Cote
3,566 PointsAlexandra Cote
3,566 PointsI just tried that and it didn't work either... I'm really not sure what the problem is :S The link without the "" around the username give me the appropriate Twitter page.