John Davidson

javascript - MAMP Installation HTML PHP

0 comments
Message:


enter image description hereThis is my first post here and i'm looking for getting some help.


I have recently taken courses in HTML/CSS/JavaScript and I feel pretty comfortable in that. Now i'm getting into PHP, and noticed that i need a localhost. I downloaded MAMP, added my website files to the htdocs but I cannot find my index.html in the localhost.


This is what I put in the browser: localhost/htdocs/web-development/Portfolio/index.html


What i'm trying to do is to preview my website and try my registration form which is done with html/css/javascript and php/phpmyadmin.


Even though I can understand and code HTML/CSS/JavaScript and still fairly new to programming so let me know if I explained it a bit messy.


I'm using Atom for coding.


Lukas



My Answer:
It looks like you may have the URL incorrect when trying to access your index.html file. The correct URL should be:

http://localhost/web-development/Portfolio/index.html

Make sure that your MAMP server is running and that the file path is correct. Also, make sure that your index.html file is in the correct folder within the htdocs directory.

If you are still having trouble accessing your index.html file, you may want to check the MAMP documentation or forums for further assistance. Good luck with your PHP development!

Rate this post

4 of 5 based on 3511 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us