0

I want to make a simple project with HTML where I put my email address in one textbox and my name in another one. The problem is, I don't know how to do this. Here is my project:

https://codepen.io/dewball777/pen/KGNVyR

<backtext> was just an <h1> with a background and a monospace font 

What I want is that the code should send the email to the email address in the email address textbox and the message is their name in the second textbox.

Abhiraam Eranti
  • 350
  • 5
  • 19

1 Answers1

0

You need create a form with your content.

May be using js to setting mail.

Ex:

<form action="mailto:someone@example.com" method="post" enctype="text/plain"></form>

You can reference on : https://www.w3schools.com/html/tryit.asp?filename=tryhtml_form_mail

devil8910
  • 48
  • 9