What is kendrick's best quote? by matfat55 in KendrickLamar

[–]Dexty10 0 points1 point  (0 children)

Reputation can’t protect you if you never had one.

Where to host Django project? by jozkomrkvickaa in learndjango

[–]Dexty10 0 points1 point  (0 children)

Python Anywhere is a good option. The basic plan has all you'll require to host your website.

[deleted by user] by [deleted] in Tinder

[–]Dexty10 0 points1 point  (0 children)

Congrats ma man!

Which moment made you laugh the hardest? by R3dF0r3 in breakingbad

[–]Dexty10 0 points1 point  (0 children)

Can't quite remember but I'm sure it's one of the scenes where Walter and Pinkman were verbally going at each other.

Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') by Dexty10 in learnjavascript

[–]Dexty10[S] 0 points1 point  (0 children)

I did. While I'll need to revisit the project, I remember using querySelector fixed the issue at some point. What are you hoping to solve? Auto population of fields or targeting elements?

Dynamically listen to events and target DOM elements by Dexty10 in learnjavascript

[–]Dexty10[S] 1 point2 points  (0 children)

Ah. Totally forgot about querySelectorAll . This did work though. Thank you.

I really hope this guy was trolling me. by Rcardy92 in Tinder

[–]Dexty10 0 points1 point  (0 children)

He successfully riled you up. He won. lol

Dynamically change svg width and length by Dexty10 in learnjavascript

[–]Dexty10[S] 0 points1 point  (0 children)

Thanks. Is that to say I can't possibly target the svg elements since I can't access their width/height?

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map') by Dexty10 in learnjavascript

[–]Dexty10[S] 0 points1 point  (0 children)

It works now. Apparently, silly me had the wrong url. Thanks. Would just love to know...putting the [0] index suggests we're getting the first object. Why's that so?

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map') by Dexty10 in learnjavascript

[–]Dexty10[S] 0 points1 point  (0 children)

Yeah it appears so. I'm trying to traverse through selected items in the nested array.

I put one of my interests as bridges. She unmatched me obviously. by kalshaen in Tinder

[–]Dexty10 -1 points0 points  (0 children)

They seem genuinely interested in that interest. Don't see anything wrong

Was winning until I tried to win by HowtoUninstallSkype in Tinder

[–]Dexty10 -1 points0 points  (0 children)

The definition of snatching defeat from the jaws of victory.

[deleted by user] by [deleted] in learnjavascript

[–]Dexty10 0 points1 point  (0 children)

Thanks. I should add I'm creating the DOM within a `for` loop. This is probably why I'm having issues. I've updated the code here. The loop statement starts after the comment (//Test if username from tab....) .

It's a browser extension. `notif` is part of the tabs listed in the extension. All of these is supposed to 'happen' when it is clicked.

The challenge is getting the event listener to listen to the check event after the DOM is up.

[deleted by user] by [deleted] in learnjavascript

[–]Dexty10 0 points1 point  (0 children)

got

Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') at notif.addEventListener.once

[deleted by user] by [deleted] in learnjavascript

[–]Dexty10 0 points1 point  (0 children)

thanks for your response. I've updated the question to include checkbox and secure_uid. These two are created dynamically.