16

Debugging a HTML code from 2 hours which was working fine..

Ah!! No 2 elements should have the same id

Comments
  • 2
    @rEaL-jAsE i knew that. But it took me 2 hours to find two elements sharing the same id.

    It taught me the lesson that when you're using react (or kind of), you should avoid using id
  • 3
    Chrome debug console highlights elements with same id..don't tell me you were using IE..just don't
  • 0
    @pratyay the first line in my resume would be "I hate windows OS".

    I was not aware that chrome does it. Let me figure out how.
  • 2
    @amitgupta don’t tell me you are doing html with out knowing inspect element...
  • 1
    Also good lort read the docs
  • 0
    IDE 🤔
  • 0
    @jeeper oh come on. Though I may be unaware with many advance features of debugging but not this basic one
  • 0
    @hugh-mungus i was actually using riot js as I was just targeting to divide long HTML in small manageable tags. I could have use jquery ajax for some part.
Add Comment