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 trialJosuel Garcia
6,069 PointsWhen I click on my email nothing happens
It should send the user to yahoo
6 Answers
Juan Aviles
12,795 PointsYour code will not send a user to Yahoo. It will open the users default email client with your email address in the "to:" field ...for example mine is Outlook, and your code works correctly for me.
Josuel Garcia
6,069 Pointsoh ok thanks. i guess ill try another browser.
Josuel Garcia
6,069 Pointsi found the problem i never had my own default email client
Wayne Priestley
19,579 PointsDid you use mailto?
<a href="mailto:name@rapidtables.com">Send mail</a>
Josuel Garcia
6,069 Points<li class="mail"><a href="mailto:garciajosuel@yahoo.com">garciajosuel@yahoo.com</a></li>
whats wrong here? do i add the send mail after the first or second email?
Josuel Garcia
6,069 Points<li class= "mail"><a href="mailto:garciajosuel@yahoo.com">garciajosuel@yahoo.com</a></li>
Kristof Szilagyi
7,431 Pointsthere is a whitespace after class= remove it and your code will work
Josuel Garcia
6,069 Pointsi removed the white space still no luck
Antonis Martalis
1,506 Pointschecked other web browsers??
Josuel Garcia
6,069 Pointsim using google chrome ill try another
Yves Roulin
4,452 PointsMailto is used for EMAILS only, opens Outlook for example or your default email client.
Hope it helps.
Kristof Szilagyi
7,431 PointsKristof Szilagyi
7,431 PointsDid you write <a href="mailto:youremailaddress@yahoo.com">youremailaddress@yahoo.com</a> ?
I mean:
<!-- <a href="mailto:youremailaddress et yahoo.com">youremailaddress et yahoo.com</a> -->