re: What are your biggest struggles in learning JavaScript? VIEW POST

VIEW FULL DISCUSSION
 

DOM APIs are probably the hardest part. You never know all the nuances of each of those methods...

For instance, just yesterday I found a bug in my library because I used .offsetParent to get the first "positioned parent node", and I discovered that this property will give me the nearest "table" element if no positioned parents are available...

code of conduct - report abuse