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

Content

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, he’d remove the function. If the client paid in 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: Here’s the code: var due new Date(‘2020-01-01’): var today new Date(); var daydiff Math.ceil((due.getTime() – today. getTime()) 86400000); var opacity daydiff 0 ? (100 daydiff) 100 : 1; document.querySelector ("body").style.opacity opacity; Give Award Share Report Save