Pages

Labels

Showing posts with label Examples. Show all posts
Showing posts with label Examples. Show all posts

Saturday, June 22, 2024

Change H1 text using buttons dynamically- Javascript

Javascript Task

How can i make it so that when a user clicks a button, the text from that button is shown in the hq tag located above it?

Tips: using even

Name

Friday, June 21, 2024

button color chage using javascript example

Javascript Task

How can I create an HTML button that, when clicked, triggers a Javascript function, and changes the button's color to red with each successive click?

Tips: use document.getElementById().style.backgroundColor

Sunday, June 16, 2024

Guess the Number- Javascript Game



என் மனதில் இருக்கும் எண்ணை கண்டுபிடி?

Score:0

move:20

நான் 1-10க்குள் ஒரு எண்ணை நினைத்திருக்கிறேன். அதனை கனித்து கட்டத்திற்குள் எழுதுக



Change H1 text using buttons dynamically Javascript Sourcecode

Javascript Task How can i make it so that when a user clicks a button, the text from that button is shown...