Message from JavaScript discussions

March 2019

— Please help anybody


You select the input by using document.getElementById()
Copy it’s value by accessing it with .value property
Select the cell by using getElementById() replace its .textContent property

— I found the problem

— You put your code in a .pdf

— It should be in a .js

— Put the code in a .js file

— Then you can't get help

— Wait wait wait

— You know every website user will be able to read the code, right?

— So we can't read it, but every visitor to your site can?

— No, not ok

— Oh my god