Skip to content

Commit

Permalink
solution
Browse files Browse the repository at this point in the history
  • Loading branch information
VitaliiNez committed Jun 2, 2024
1 parent 8540d0e commit aa2076f
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 @@ -9,7 +9,7 @@ inputsForm.forEach((input) => {

label.classList.add('field-label');
label.setAttribute('for', input.getAttribute('id'));
label.textContent = getName.replace(/([A-Z])/g, ' $1').trim();
label.textContent = wordSpace;
input.before(label);

input.setAttribute(
Expand Down

0 comments on commit aa2076f

Please sign in to comment.