0

What is the differences of my code? Why get Value1 cannot be run or no output? Actually, these code adopt same Principle.

https://code.sololearn.com/WNsTSFVv10iO/?ref=app https://code.sololearn.com/W7I92bB0G6Qb/?ref=app

8th Jun 2023, 8:23 AM
Oliver Pasaribu
3 Antworten
+ 3
Yeah, easy to get confused there; html is not case sensitive (<p> is the same as <P>), but JS very much is.
8th Jun 2023, 9:32 AM
Orin Cook
Orin Cook - avatar
+ 2
1. Close <titl 2. Id != ID 3. You forgot the .value
8th Jun 2023, 8:37 AM
Orin Cook
Orin Cook - avatar
+ 2
It was stated that html is not case sensitive Oh, I see, background-color if written in javaScript become camel case backgroundColor. Thank you very much. This is a little things, but it's so important and essentials.
8th Jun 2023, 9:25 AM
Oliver Pasaribu