Skip to content

hunterD3CD/01-HTML-Git-CSS-Refactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

01-HTML-Git-CSS-REFACTOR

Purpose:

A website that provide marketing services.

Build with:

  • HTML
  • CSS

Website:

https://hunterd3cd.github.io/01-HTML-Git-CSS-Refactor/

Contribution:

Made by Hunter

Image:

01-html-css-git-homework-refactor

Refactor notes:

00: first thing will be setting up the project. it includes creating a new git repository, committing the work to git, and syncing the projec with GitHub; 0  set up the project

01: by giving the website a descriptive tile "Horiseon", visitors can know what website they are in right now; 1 change head title

02: in the header part, build a logic structure in the body. remove div class="header" and replace it with header. In the CSS file, change the .header to header; 2  header-add header

03: in the header part, change div to nav. the nav is a semantic elements that aid accessibility. and add descriptive notes to ul, li , and a. In the CSS file, change div to nav. 3  header-update nav

04: build a hero section for the hero image. add descriptive notes to CSS file. 4  hero-update hero section

05: in the "content" section, change div to section.This is the section for the main content of horiseon website. 5  content section-change div

06: in the "content" section, in order to build a logic structure, change div to article. because the style of the three contents are the same, we can merge it into one under "content". and combine the css file into ".content"; by doing so, we are reducing the repetition for the CSS code. 6  content section-change article

07: in the "benefit" aside, in order to build a decriptive structure, change div to aside. 7  benefit aside-change div to aside

08: in the "benefit" aside, in order to reduce the repetition of the css code, we can merge the content into "benefit class"; 8 benefit aside-reduce repetition

09: in the footer, in order to build a logic structure, change div to footer. 9  footer

10: in the header, in order to have the list item link to the content below, add id to the specified article. and for images, add alt="description of the image" which provides alternative info of the images if a user for some reason can't view it; 10  image link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published