Skip to content

Subashsunar/Homework-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

01 HTML, CSS, and Git: code Refactor

Introduction

Refactored existing code (without changing the feature). The original code missed the the accessibility standards. There were some repetation, missing alt attributes, and lack of concise and descriptive title in the HTML and CSS file.

The code now follows all the accessibiliity standards, semantic HTML elements logical structure independent of styling and positioning, links, accessibile alt attributes, and concise, descriptive title.

Image/Screenshot

The following image shows the web applications appearance and functionality:

Changes in HTML file:

  1. Added section in parent div tag.

  2. Added concise, descriptive title.

<title>Horiseon Social Solution Services</title>
  1. Added consistant feature in the Navigation bar.
<div id="search-engine-optimization" class="content-section">
  1. Added descriptive alt attribute in for an images.
<!-- Added accessible alt attribute with clear description for all three image tags.  -->
<img src="./assets/images/search-engine-optimization.jpg" class="float-left" alt="Young business men and women are deciding a plan for a business." />

<img src="./assets/images/online-reputation-management.jpg" class="float-right" alt="Laptop with magnifying glass on it. Some hightlighter and colors on the pencil jar. Notes on a note book with hot coffee on the left side." />

<img src="./assets/images/social-media-marketing.jpg" class="float-left" alt="Looking company's reputation at the bar and pie chart on a macbook at the same time looking the smart phone." />

Changes in CSS file:

/* Wiped out the repetative code to make it clean. */
.section-benefits {
  margin-bottom: 32px;
  color: #ffffff;
}

.section-benefits h3 {
  margin-bottom: 10px;
  text-align: center;
}

.section-benefits img {
  display: block;
  margin: 10px auto;
  max-width: 150px;
}

Here is the completed work with repository and deployed application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published