Hi, I have the code below, my page is black and when the user submits the form it will return the message below, 2 questions

How can I get the script to forward to another page ? - (not by using the button, but after the user presses submit onclick=\"location.href='/ )

How do I make the text white?

THanks
PHP Code:
<?php
        
if( $sErr ) print "<script language='javascript' type='text/javascript'>location.href='#error';</script>";;; 


else: 
//!$isHideForm
    
print( "<br><br><hr><center><b>Your form has been sent. Thank you.</b><br><br><input type='button' value='Home' onclick=\"location.href='/';\"></center><br><br>" );
endif; 
//!$isHideForm
            
?>