Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

img Tag Refactor: Program Areas Page - volunteer-with-us-icon.svg (class mobile-img) #5136

Closed
3 tasks done
Tracked by #5040
roslynwythe opened this issue Aug 4, 2023 · 2 comments · Fixed by #5141
Closed
3 tasks done
Tracked by #5040
Assignees
Labels
Feature: Refactor HTML good first issue Good for newcomers role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 0.25pt Can be done in 0.5 to 1.5 hours

Comments

@roslynwythe
Copy link
Member

roslynwythe commented Aug 4, 2023

Prerequisite

  1. Be a member of Hack for LA. (There are no fees to join.) If you have not joined yet, please follow the steps on our Getting Started page and attend an onboarding session.
  2. Before you claim or start working on an issue, please make sure you have read our How to Contribute to Hack for LA Guide.

Overview

We want to change an img HTML tag ending with a slash (<img.../>) to an img tag without an ending slash (<img...>) so that the codebase is consistent with how we use img HTML tags.

Action Items

  • In your local IDE, navigate to pages/program-areas.html
  • Remove the ending slash in the img HTML tag by changing
      <img
        class=""join-us-footer-img mobile-img""
        src=""/assets/images/join-us/volunteer-with-us-icon.svg""
        alt=""""
      />

to

      <img
        class=""join-us-footer-img mobile-img""
        src=""/assets/images/join-us/volunteer-with-us-icon.svg""
        alt=""""
      >

- [ ] The file may contain more than one instance of an img tag with a closing slash. There also may be multiple img tags with the same source image, but with different classes. Make sure you only change the single instance specified above. Do not leave any blank spaces before the closing bracket.

  • Using Docker, check the page remains the same in mobile, tablet, and desktop views as on the current website (See 2 in the Resources/Instructions section below)

Resources/Instructions

  1. For QA to validate change: https://github.com/hackforla/website/blob/gh-pages/pages/program-areas.html
  2. Webpage(s): https://www.hackforla.org/program-areas
  3. This issue is tracked in HfLA-Website: img Tag Audit spreadsheet's img with Ending Slash tab, which is part of Rollout Plan: Refactor code with img HTML tags to end without a slash #4362
@roslynwythe roslynwythe added good first issue Good for newcomers role: front end Tasks for front end developers role: back end/devOps Tasks for back-end developers Feature: Refactor HTML size: 0.25pt Can be done in 0.5 to 1.5 hours labels Aug 4, 2023
@roslynwythe roslynwythe added this to the x. Technical debt milestone Aug 4, 2023
@evanhesketh evanhesketh self-assigned this Aug 4, 2023
@github-actions
Copy link

github-actions bot commented Aug 4, 2023

Hi @evanhesketh, thank you for taking up this issue! Hfla appreciates you :)

Do let fellow developers know about your:-
i. Availability: (When are you available to work on the issue/answer questions other programmers might have about your issue?)
ii. ETA: (When do you expect this issue to be completed?)

You're awesome!

P.S. - You may not take up another issue until this issue gets merged (or closed). Thanks again :)

@evanhesketh
Copy link
Member

Availability: Friday until 5pm EST
ETA: 08/04 EOD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Refactor HTML good first issue Good for newcomers role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 0.25pt Can be done in 0.5 to 1.5 hours
Projects
Development

Successfully merging a pull request may close this issue.

2 participants