Git Product home page Git Product logo

optimize's Introduction

  1. TASK

This homework assignment is to refactor an exisiting site to make it more accessible for a marketing agency. Web accessibility is an important consideration for business to ensure that people with disabilities can access a website using assistive technologies like video caption, screen readers, and braille keyboards. The purpose of this task to check that the links are functioning properly and the code meets the acceptance criteria. Therefore, I give my repository a name "Optimization".

  1. DEPLOYMENT

GitHub is a free cloud drive that allows to store all our projects and codes. In case, someone accidentally deleted the work while I decided to go for a break. Hitting undo is no longer an option. This software allows us to go back in time. This free cloud drive is a life-saver!

There are two ways to create a repository:-

i) Create the remote repository on GitHub first and then clone it to my local machine, that is, click on the green icon NEW on the top right corner of the GitHub screen, give a name to new repository and add a README file and create repository. Copy the CODE of the SSH key and I will do the git clone "my URL" command, and then making sure that I am in the project directory and the commands required, that is git add ., git command, and git push.

ii) I choose the second option as I already have the files for deployment to GitHub. The steps taken:-

       - navigate to my project directory using Git Bash 
       - git init (turning the directory into a Git repository)
       - git status (to check that status of my files)git 
       - git add . (adding my files)
       - git commit -m "initial commit"
      
  Log on to the GitHub (my account) and create the new repository as for step (i)
  Copy the code and making sure not to click on the README file since I am importing the files.

           git remote add origin < SSH URL> (as I have a SSH key)
           git branch - M main
           git push -u origin main


As I worked through the files with changes to my code and README file, the commands to use would be git push origin main (when changes are made in the local repository or git pull origin main (when changes are made in the remote repository)

iii) The URL of the GitHub repository is https://github.com/stellalph/OPTIMIZE.git, and the URL of the deployed application is https://stellalph.github.io/OPTIMIZE

  1. CODE REFRACTOR

The following steps I have taken to refactor the code (improving it without changing what it does) are:-

    - structure according to the HTML, making sure that there are identifiable HTML elements and they flow in a sequential order, that is,
      header, content or section, aside and footer
    - to ensure that the links are functioning correctly
    - simplify the links removing the extra folder
    - re-link to the images for the header
    - adding commentary to the title, header, contents or section
    - adding alt attributes to define a text alternative to the image being displayed.  This alt attribute is a great impact on both search 
      engines and users with text-only browsers. An example would be the people that use text-to speech software due to vision impairment.
      only browsers.  This targets at this accessbility as the theme of this homework assignment.
    - short commentary added to the CSS file to know where the CSS selectors are located.
    - making sure that the CSS file is in sequential order as the HTML file
    - Consolidating the CSS selectors in the style.css file.

Screenshot 2022-03-09 214635 Final Submission.png

optimize's People

Contributors

stellalph avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.