Hello!
How can I make a button increase date by 1?
It should work for red and green simultaneously.
Can I do a function in funk?
And how do I access it whitout id?
function funk(id){
const date = new Date();
if(id=1){ show date in red, in div a}
if(id=2){ show date in green, in div b }
}
I simplified the code, funk is working with multiple id’s.