- Semantic HTML elements like header, footer, nav, section, article etc used.
- More descriptive title provided.
- Navigation bar id# link corrected.
- Homepage link added to the company logo.
- Header and footer classes removed, css now applies directly to the semantic tag.
- Common CSS code in the content and benefit section combined under a single class.
- Alt added to the images with text for relevant images.
- Heading added in sequential order without skipping.
- Git commits made after changing each section.
- CSS code consolidated together global, common and section code with comments.
- Commnets added to HTML page as well.
- Other minor changes to the code.
- Additional note: When I changed the heading in the benefit section from h3 to h2, I applied the default font size of h3 element to the new h2 heading in benefit section but it looked smaller than that in the preview so I removed it and used the default h2 font size (which looks similar to the preview).
- Additional note 2: As per the module for link to the homepage we need to use href="/", but that doesn't work on git. "./" works on git but not on the local drive. So just to be on the safer side and for it to work everywhere, I used "./index.html".
-
Notifications
You must be signed in to change notification settings - Fork 0
jamwalab/HTML-Code-Refactor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published