HTML, CSS, & Scripts on one page

Thanks to @Jerry sharing foolishdeveloper, I learned that one file (html) can contain all the necessary code needed. I was under the impression that each one of these had to have a separate file. I need to go further in my understanding of using code.

Just playing around, I copy some Code and put it is one file and it worked! :smile:

Where do you insert the email address to want to send the reply to, so I can validate email address?

Question, Do I have to upload it to my Host in order to test it?

This is zip file contains the index.html file that contains the html, css and js code, I messed with. [html css js.zip|attachment](upload://xKEufPSnlW8cehkJI8vM6hQ84g.zip) (1.7 KB)
1 Like

I can only guess you made some type of contact form? The HTML and CSS is only one part of it. You can do validation via the HTML but the form handling is done with PHP that way it’s more secure.

Oh, so the script is only to show you made a popup? LOL Now in order to get this to work , you have use PHP script.
Any examples on how to do that. By the way, I am just playing trying to figure this stuff out.

Could you not download the zip?

No. Re look at your post. Also I’m on my phone.

Not to mention I wouldn’t download some random file. You provide no details.

Piles of them online. Then you need to run it from a web server either upload to your host or setup a local one.

This is zip file contains the index.html file that contains the html, css and js code, I messed with.

Maybe check the OP, although you have edited it several times from the first one, the file link is still broken.

Not sure what that is. So you’re saying the zip file does not download?
All I did was, attached the zip. Is there something I missed?

By the way, I have a form of Autism, that makes me want to make everything perfect. That is why I keep correcting (I often miss spell words and my grammar needs help) or changing things.