GSG-G10 / GSG-G10/RAM-News

Improper way of using label

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
review
Dominant language
HTML
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Description

It's a good practice to have labels for our input, But we have to use them in a proper way

in these lines label not connected to its input
https://github.com/GSG-G10/RAM-News/blob/98c5f2012d77fd5579a5553ac27ef9764bea5ba0/index.html#L441-L442

there is two ways to bind label with it's input

either to
- have `for` attribute of that equal to the id attribute of the related element.
OR
- label can be bound to an element by placing the element inside the element.

For more information read [label](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.