in , , , ,

Skeptical about the Client in Freelance Work? Try this

Skeptical about the Client in Freelance Work? Try this | code-memes, try-memes, function-memes, date-memes, cli-memes, js-memes, query-memes | ProgrammerHumor.io
code-memes, try-memes, function-memes, date-memes, cli-memes, js-memes, query-memes | ProgrammerHumor.io

[text] I I heard of a guy who put a js function in every piece of spec workcompetition work he did. For every day after full payment was due the function would lower the opacity of body by 1. As soon as full payment was given hed remove the function. If the client paid i full and on time everything was fine if they did not their site would slowly fade away over the course of a few months. edit Heres the code var due ew Date20200101 var today new Date var daydiff Math.ceildue.getTime today.getTime 86400000 var opacity daydiff 0 100 daydiff 100 1 document . querySelector body.style.opacity opacity GiveAward Share Report Save