Skip to content

Clean code s1e1 - refactoring#152

Open
Boburjon5555 wants to merge 23 commits intorolling-scopes-school:mainfrom
Boburjon5555:clean-code-s1e1
Open

Clean code s1e1 - refactoring#152
Boburjon5555 wants to merge 23 commits intorolling-scopes-school:mainfrom
Boburjon5555:clean-code-s1e1

Conversation

@Boburjon5555
Copy link

Clean Code S1E1 - HTML & CSS Refactoring

Changes Made:

Added HTML5 DOCTYPE and proper structure (rule 2.2)
Used double quotes for all attributes (rule 1.3)
Removed unnecessary type attributes (rule 2.4)
Added alt attributes to all images (rule 1.2 extended)
Used semantic HTML5 elements (rule 1.1 extended)
Used meaningful class names (rule 3.2)
Applied kebab-case naming convention (rule 3.1)
Formatted CSS with consistent indentation (rule 1.1, 3.5)
Separated selectors and properties (rule 3.8)
Added space after property colons (rule 3.6)
Added semicolons after properties (rule 3.7)
Converted hex colors to lowercase (rule 1.2)
Removed tag selectors (rule 3.4)
Used CSS shorthand properties

Functionality Preserved:

Add new tasks
Edit existing tasks
Delete tasks
Mark tasks as completed
Unmark completed tasks
Delete button animation works
Application appearance unchanged

Guidelines Followed:

  • Basic rules from html-and-css.md
  • Advanced rules from html-and-css-extended.md

Total Score: 40+ points

@Boburjon5555 Boburjon5555 force-pushed the clean-code-s1e1 branch 3 times, most recently from 09d383f to 04d16fc Compare October 22, 2025 17:27
@Boburjon5555 Boburjon5555 force-pushed the clean-code-s1e1 branch 2 times, most recently from 8773505 to 80d8542 Compare October 23, 2025 10:31
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

Successfully merging this pull request may close these issues.

1 participant