Can anyone help me with me code

Snímka obrazovky 2023-02-12 195813
i dont now what do to i check google and i dont now what to do so can anyone help me

Can you post a minimal snippet? I can’t see your link from my current device.

1 Like

Based on the error, you are probably trying to get an element from the DOM before it has loaded. You could try either adding defer to your script tag, or putting the code that accesses the DOM inside a load event listener:

window.addEventListener("load", function() {
	// code that accesses the DOM

Your code does not seem to contain any elements that have the id "name-adder", which is why it is giving you an error.