Skip to content

Commit

Permalink
solution 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-shuhailo committed Jan 18, 2024
1 parent ac07654 commit c7d4be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs.forEach(input => {
label.setAttribute('for', labelFor);

if (label.textContent.includes('Name')) {
label.textContent = label.textContent.replace('Name', ' name');
label.textContent = label.textContent.replace('Name', ' Name');
}

input.after(label);
Expand Down

0 comments on commit c7d4be8

Please sign in to comment.