I'm new to learning HTML and CSS and I'm struggling to understand how contact forms function. Where does the email address get stored in this code? Do I need a PHP file for this to work?
<section class="signup-section" id="signup">
<div class="container">
<div class="row">
<div class="col-md-10 col-lg-8 mx-auto text-center">
<div><span class="wave bigemoji">📧</span></div>
<div class="contactform text-uppercase heading1">Contact</div>
<div class="formcontainer">
<form id="form" method="POST" action="action.php" class="topBefore" onsubmit="submitForm(); return false;"> <!-- allows function submitForm to run when it is being submitted-->
<input id="n" class="formelements" type="text" placeholder="NAME" required>
<input id="e" class="formelements" type="email" placeholder="E-MAIL" required>
<textarea id="m" class="formelements" type="text" placeholder="WRITE YOUR MESSAGE HERE" oninput='this.style.height = "";this.style.height = this.scrollHeight + "px"' required></textarea>
<input id="submit" class="btn" type="submit" value="SEND">
<div id="status"></div>
</form>
</div>
</div>
</div>
</div>
</section>