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 - program_areas[1].image #5139

Closed
3 tasks done
Tracked by #5040
roslynwythe opened this issue Aug 4, 2023 · 2 comments · Fixed by #5142
Closed
3 tasks done
Tracked by #5040

img Tag Refactor: Program Areas Page - program_areas[1].image #5139

roslynwythe opened this issue Aug 4, 2023 · 2 comments · Fixed by #5142
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="page-card-image" src="{{ program_areas[1].image }}" alt="" />

to

<img class="page-card-image" src="{{ program_areas[1].image }}" alt="">

- [ ] The file may contain more than one instance of an img tag with a closing slash. 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
@ivan20203 ivan20203 self-assigned this Aug 4, 2023
@github-actions
Copy link

github-actions bot commented Aug 4, 2023

Hi @ivan20203, 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 :)

@ivan20203
Copy link
Member

ivan20203 commented Aug 4, 2023

i. Availability: (When are you available to work on the issue/answer questions other programmers might have about your issue?)
I am available August 6 - August 10 : 12am - 5pm PST

ii. ETA: (When do you expect this issue to be completed?)
I expect the issue to be completed by August 10.

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