What I'm looking for is just the logic of the error happening. I mean something like that:
if (Typeerror) {myMessage.innerText = `Invalid country name`}
Obviously this is wrong. Is there any simple answer for this?
Aucun commentaire:
Enregistrer un commentaire