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

Refactoring #569

Open
QAZIMAAZARSHAD opened this issue Oct 11, 2023 · 1 comment
Open

Refactoring #569

QAZIMAAZARSHAD opened this issue Oct 11, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request hacktoberfest

Comments

@QAZIMAAZARSHAD
Copy link
Owner

Overview:
The current state of the repository features a Movie Streaming Website with multiple HTML files for different movie genres (e.g., horror.html, thriller.html), all sharing the same design. However, the CSS/JS is included within each HTML file, which can be improved for better maintainability. Additionally, the codebase lacks proper organization and separation of concerns.

Proposed Changes:

  1. Centralize CSS and JS Files: Consolidate all CSS and JS into single, external files for efficient management.
  2. Component-Based Structure: Create separate files (HTML, CSS, JS) for individual components (e.g., cards, navbars, footer) to facilitate ease of maintenance.
  3. File Structure Reorganization: Introduce a structured file organization system. Create a 'pages' folder to contain all HTML files for pages. Establish a 'css' folder to house CSS files for various components. Set up a 'js' folder for scripts related to dynamic components (e.g., scroll to top button).
  4. Image Standardization: Place all movie poster images in a dedicated folder. Ensure image quality and resolution consistency by removing blurry/stretched images and adding high-definition posters.
  5. Code Refactoring: Refactor the entire codebase for improved logic, coding style, and structure. Remove unnecessary checks and optimize the code.
  6. Code Formatting: Check and apply Prettier formatting to all pages for code consistency.

Note: If you'd like to address each of these improvements as separate issues, please feel free to open multiple issues to tackle them one by one.

@QAZIMAAZARSHAD QAZIMAAZARSHAD added enhancement New feature or request 🤩 Up for Grab This issue will is not assigned ! Grab It ! hacktoberfest labels Oct 11, 2023
@purnasth
Copy link

Hello, @QAZIMAAZARSHAD feel free to assign this task to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants