so i found this thread, but I can't figure out how to actually call the functions.
i have tried:
removeRow('message')
and
removeRow(document.getElementById('message'))
i am using the accepted answer and my html is
<form action="http://localhost/signup.php" method="post" style="display:inline-block; margin:0 auto;">
<label for="username">Username</label>
<br>
<input type="text" name="username" id="username" placeholder="Username" required>
<br>
<label for="password">Password</label>
<br>
<input type="password" name="password" id="password" placeholder="Password" onkeyup='check();' required>
<br id="message">
<p id="message"></p>
<br id="message">
<label for="confirm_password">Confirm Password</label>
<br>
<input type="password" name="confirm_password" id="confirm_password" placeholder="Password" onkeyup='check();' required>
<br>
<label for="Email">Email Address</label>
<br>
<input type="email" name="email" id="email" placeholder="Email" required>
<button type="submit" id="signup">
Sign up
</button>
</form>