Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Fix messy code in home/home.php #306

Open
edsaur opened this issue May 1, 2024 · 0 comments
Open

Fix messy code in home/home.php #306

edsaur opened this issue May 1, 2024 · 0 comments

Comments

@edsaur
Copy link
Contributor

edsaur commented May 1, 2024

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant