Web components and chatGTP.

My earliest attemps at asking chatGTP for code help were not very promising. A couple of years ago I asked it to make a responsive treemap visualization in d3.js. It went for a few lines, maybe 10-15seconds and froze. This was a code issue that would be labourus and I had not found any solutions … Read more

Cross domain troubles

It is so nice when things work perfectly on one domain and not on another. Such as all the students domains. I have done a lot of research around this over the past days. Iframes have been around since the web dinosaurs and still have their place. The problems came when trying to make map/charting … Read more

Test JSON error

Oh, what wouldn’t I give to be spat at in the face? I sometimes hang awake at night, dreaming of being spat at in the face Listen, strange women lyin’ in ponds distributin’ swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some … Read more

Imageteller development

Ok, One thing that majorly fucked progress: bgImage position fixed in the css f’ed everything. Took too much time so that is why this page matters. Srcollyteller33.js wouldn’t work for some reasjon adn the difference was in the CSS. Now test the new files (180+) and see if that works. This was also likely the … Read more

Back to web components day 2

Shadow DOM works. Now templates: Templates are made in the body element using <template>. It is not automatically rendered. In to the folder ‘and move on’ So to set innerHTML, you can use backtick ` instead of ‘ to form a multiline string. Added style to the innerHTML web componenbt string. This is a way … Read more

Back to web components

This udemy course stopped suddenly because of life and a noisy laptop fan. 2-3 weeks, new HP Z workstation and time to pick up the pieces. Keep track in this page. Memories from last time: It worked as it should, I made something in the sahdow DOM and saw it in the inspector. And there … Read more