RestaurantProject icon indicating copy to clipboard operation
RestaurantProject copied to clipboard

Fix messy code in home/home.php

Open edsaur opened this issue 2 months ago • 0 comments

Hello!

I've seen that the home.php has tons of code that are from PHP codes, and some are JavaScript and CSS.

And what if we wanted to create a new page with the same header and footer UI?

To resolve this issue, create a folder separating the header which contains the html tag along with the links and script tags. tagged along the navbar. As per the footer part of the code, include the footer with the social media stuff and the rest of the styling/script tags in the browser.

And the only thing remains in home.php is the necessary codes for the webpage.

edsaur avatar May 01 '24 04:05 edsaur