This webpage contains refactored code .
As part of code refactoring, following steps are considered:
- Relevent title is added.
- header section is added which contains
<h1>
tag and nav bar which lists all the links to the pages. - nav bar contains float right property.
- footer is modified.
<h3>
is added instead of<h2>
- alt attribute is added for all images.
- nav links were configured properly to point to related section of the page.
- comments were added for better understanding.
- removed unused css.
- linked reset.css file before style.css to reset the browser property.
- div and sections were grouped together to denote semantic grouping of elements.
- consolidated CSS selectors and properties.
- organized the semantic structure of the HTML elements.
- added color to footer.
- added margin above footer
- added clearfix after benefits, float-left,float-right
- added figure,main tag to wrap image and main content respectively.
git clone https://github.com/shambhawi13/html-git-css-homework.git
- HTML - used to create elements on the DOM
- CSS - styles html elements on page
- Git - version control system to track changes to source code
- GitHub - hosts repository that can be deployed to GitHub Pages
- Clone the repository : git clone https://github.com/shambhawi13/html-git-css-homework.git
- Explore different opportunity provided by the website.