filmov
tv
Change the background color on HTML webpage on input just by 3 lines of JavaScript

Показать описание
In this video, I will tell you how to change the background color of the html webpage on input just by just 3 lines of JS.
To do this, just follow these steps:-
1) Give the following attributes to the input tag:
id="col" onchange="changecolor()"
2) In the script tag, just write the JavaScript code given below:-
function changecolor() {
It's very easy, right
Subscribe Code Infinite with Arnav for more
Comment if any doubt or issue regarding this video
To do this, just follow these steps:-
1) Give the following attributes to the input tag:
id="col" onchange="changecolor()"
2) In the script tag, just write the JavaScript code given below:-
function changecolor() {
It's very easy, right
Subscribe Code Infinite with Arnav for more
Comment if any doubt or issue regarding this video