Hello, I want to make a field for entering a phone number, when I clicked on the field, I appeared + as the first character, after which I could enter 12 more numbers, and you cannot write numbers before the plus and delete the plus, code on a clean (vanilla) JS, through. mask found ( How to set a regular expression for the Ukrainian phone with a static +380 ....? ) in the number entry field , but for the sake of one code I don’t want to connect the library ...
<form action=""> <input type="text" name="tel" placeholder="Номер телефона" required max="13" id="tel"> </form>