As part of a CSS/HTML challenge, I am trying to customize a validation error message without using JavaScript. My goal is to make it look like this image
This is the code I have so far.
HTML
<p> It only takes a minute to sign up and our free starter tier is extremely generous. If you have any questions, our support team would be happy to help you.</p>
<form action="php">
<div class="info">
<input type="email"
placeholder="Enter Email Adress Here"
required enter code hereoninvalid="this.setCustomValidity('Please enter a valid email address')"
onvalid="this.setCustomValidity('')">
<button type="submit">Get Started For Free</button>
</div>
</form>
</div>
And CSS
.sign input{
border-radius: 25px;
width: 500px;
height: 45px;
text-align: center;
margin-right: 30px;
}
I am still learning how to code, so any assistance would be greatly appreciated :)