Created
January 25, 2022 09:48
-
-
Save laurenclark/877ecc1d1baac7356688cd23ba5e4aea to your computer and use it in GitHub Desktop.
Deal with annoying job applications in the hope of humanising tech recruitment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const textInputs = document.querySelectorAll('input[type=text]'); | |
const emailInputs = document.querySelectorAll('input[type=email]'); | |
const allInputs = [...textInputs, ...emailInputs]; | |
const textAreas = document.querySelectorAll('textarea'); | |
for (let i = 0; i < allInputs.length; i++) { | |
allInputs[i].value = "Read my CV!" | |
} | |
for (let i = 0; i < textAreas.length; i++) { | |
textAreas[i].value = "Talk to me!" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment