How to make a newsletter form?


I made a design for my newsletter, but I have no idea how to make it function. I heard that PHP is involved, but my knowledge of that is low.

I would like the form to send a response to their email once they subscribe to my newsletter and I would like their email to be stored, so I can send them the newsletter.

My index file is an HTML file, so I’m not sure If I need to create a separate PHP file for the form. Is PHP the right approach, or are there alternatives?

Any help is very much appreciated, thank you!

you need a backend, that can be in PHP, in JavaScript, or many other languages.

You certainly need more knowledge than just HTML

Hi, thanks for your reply! Is there any guide/tutorial I could follow to get a better idea of how to get started? I can’t seem to find any on Youtube.

you can follow the freeCodeCamp curriculum, it will teach you how to create your own backend

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.