On my site i will have a form which will then email me, the problem is I dont want my email being left in the HTML so spam bots can get it and spam me :/
How do i prevent this?
I will have a captcha so spam-bots dont submit the form but my email is still visible 🙁
You can do this in JavaScript by encrypting the email using base64 (or anything else that JS supports at your choice) and decoding it on client's side when the page is loaded, or even only when the "Send" button is pressed).
This will block bots from seeing your email, but not more tech savvy people, as those will look at the source code and when they see the base64 code, they will decrypt it by themselves.
Don't ask me how to code this though s my JS skills are pretty basic and I don't touch JavaScript in months (or even years).