Posts

Verse1

Trying to get a handle on how JS meshes with Blogger

AI In Your Digital Marketing Strategy

https://www.score.org/event/how-use-ai-in-digital-marketing-strategy

Can You Get a Button to Change More Conspicuously When Pressed?

Yes.. thank you chat.. Click Me Click Me    Not good enough? Use what Josh Comeau has come up with :  https://www.joshwcomeau.com/animation/3d-button/

Tester

General Washington

Your Paint Tool, Courtesy of chatGPT

Who doesn't love chatGPT? Draw on Canvas Width: Height: Color: Brush Size: Clear Canvas Ok, took some doing to get there.. Somehow, the code from the codepen worked right away when pasted into blogger, not so with the code from chatG. Create a web page containing a canvas element whose size comes from the values contained in two input fields labelled "Width" and "Height". The viewer will be able to click and drag to draw on the canvas. The color he draws with can be set by a color selection input. Can you set the background of the canvas to white? Nothing happens when I click and drag on the canvas Actually, the previous JavaScript does work - in CodePen, but not in Blogger (Blogspot). Any idea why? Why is it that the code you gave me doesn't work, but the below code works in Blogger? The code you provided seems to work in Blogger because it's handling mouse events directly on t...

Done - You Want to Click On Some Text On Your Page to Select It

Image
Thank you Taewan Kim . As long as it's an element like a div or a p aragraph or a span , this one is easy. Starting with <p>, just change that to (click below in the colored area to select it) <p  onclick="var range = document.createRange(); range.selectNodeContents(this); window.getSelection().removeAllRanges(); window.getSelection().addRange(range);" > And you're done