Skip to content

xkolsha/HTML-CSS-Git-Challenge-Code-Refactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Module 1 - HTML CSS Git Challenge: Code Refactor

Description

One of the most common tasks for front-end and junior developers is to take existing code and refactor it (recall that to refactor code is to improve it without changing what it does) to meet a certain set of standards or implement a new technology. In this Challenge, a marketing agency has hired you to refactor an existing site to make it more accessible.

Web accessibility is an increasingly important consideration for businesses. It ensures that people with disabilities can access a website using assistive technologies such as video captions, screen readers, and braille keyboards. Making a website accessible is also good for business for many reasons, one of them being that accessible sites are better positioned in search engines like Google. It also helps companies avoid litigation that can occur when people with disabilities can't access their website.

Even though accessibility is a broad topic that can include complex requirements, your tech lead has given you a small list of specific criteria to satisfy the project. These criteria are documented in the Acceptance Criteria section.

Table of Contents

How to Complete the Challenge

  • Starter code is in a folder called Develop (will be in a branch called starter code), which you'll modify to complete the challenge.
  • Refactor the code to meet the Acceptance Criteria.

User Story

As a marketing agency, I want a codebase that follows accessibility standards so that our own site is optimized for search engines.

Acceptance Criteria

  • GIVEN a webpage meets accessibility standards
  • WHEN I view the source code
  • THEN I find semantic HTML elements
  • WHEN I view the structure of the HTML elements
  • THEN I find that the elements follow a logical structure independent of styling and positioning
  • WHEN I view the image elements
  • THEN I find accessible alt attributes
  • WHEN I view the heading attributes
  • THEN they fall in sequential order
  • WHEN I view the title element
  • THEN I find a concise, descriptive title

Mock Up

Mock up of the website

Credits

License

MIT License

Copyright (c) 2023 xkolsha

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Badges

badmath

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published