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

JavaScript

Can javascript do this...?

Hello everyone. I am wanting to build a web app or something to send in a flour order for the bakery i run. I have about 20 items at any given time and would input numbers from 1-100 for each item. i would like to be able to hit send and have it be sent as an email or text to a specific person. I tried building the page just using html and forms but it was horribly inefficient.

im picturing a page that i can have cached on my phone. input my order while im on the floor and hit send

thanks Justin

1 Answer

Steven Parker
Steven Parker
243,228 Points

Efficient or not, I'm surprised it worked at all. I would expect the browser would block the sending of email as a security measure, or that you would run into some CORS security issues.

On the other hand, this would be a typical server-side function.