Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant