RestaurantProject
RestaurantProject copied to clipboard
Fix messy code in home/home.php
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.