+ 1

Attribute bug Sololearn

Iam learning html with sololearn and when doing code-repos, the attributes are not turning into blue color and qhen I try to run the code I dont get results properly Like: <input> placeholder="Name">/<br> Result: [(A box)] placeholder=Name">/<br> Also this bug is same in all type of attributes

23rd Apr 2022, 3:49 PM
Yug
Yug - avatar
5 Answers
+ 3
Correct code - <input placeholder="Name"></br> Hope it helps !
23rd Apr 2022, 3:50 PM
Arnav Gumber
Arnav Gumber - avatar
+ 2
Yug That's the problem in your code. Share full code.
23rd Apr 2022, 3:50 PM
A͢J
A͢J - avatar
+ 2
Code Infinite with Arnav it worked thanks bro
23rd Apr 2022, 3:53 PM
Yug
Yug - avatar
+ 2
Yug placeholder is an attribute of input tag so it should not be outside.
23rd Apr 2022, 3:55 PM
A͢J
A͢J - avatar
0
A͢J <form> <input> placeholder="Name">/<br> </form>
23rd Apr 2022, 3:52 PM
Yug
Yug - avatar