Hi,
I have to questions:
1. Concerning JS:
when the user types in an invalid e-mail, an error message appears. How can I make this message vanish, if the input field is blank again, because the user deleted the invalid message.
I want to achieve this without reload.
Is this possible? And if, it would be very great, if you are willing to link further information. I think I have a related issue in another project of mine.
2. Not neccassary use of calc in CSS
If you would take your time to have a look at my CSS. There I target the input-field like this: input[type="email"]
As mentioned in the CSS commentary I male use of calc
, because I have a "strange" issue, without it in mobile view. To cite my own comment in the CSS: "Without calc, the width is signifantly higher – than the button in mobile view. Is it because of the box-shadow?"
Thank you for your time and your kindness in answering my question(s).
Best & Cheers