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

Shifting the script tags from body to head tag #29

Open
rajneesh069 opened this issue Jan 1, 2024 · 2 comments
Open

Shifting the script tags from body to head tag #29

rajneesh069 opened this issue Jan 1, 2024 · 2 comments
Assignees

Comments

@rajneesh069
Copy link
Contributor

rajneesh069 commented Jan 1, 2024

For clean index.html so that anyone who starts contributing or looking into the project can instantly know what scripts have been used, we can move the script tags into the head tag and add the "defer" attribute into them, which will help us achieve the same but inside the head tag, resulting in cleaner code.
Before :
image
After :
image

I'd like to work on this issue if it gets approved.

@nisha-laur
Copy link
Contributor

@rajneesh069 you may go ahead with this .

@rajneesh069
Copy link
Contributor Author

@nisha-laur I've already tried the whole cleaner folder structure twice but you'll have to merge the PRs beforehand, because each time someone commits a new change in the repo, I'll have to make the changes again, and merge conflicts will arise again and again. After the folder structure is changes everyone can pull the changes and make the relevant changes, that's why I am unable to make the proposed changes. Please look into it.

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

2 participants