I am getting this error message “[ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client” while trying to submit .
link to my code : https://repl.it/join/vfobwjpv-moshudlanre
what could be wrong please?
I moved your post into its own topic, and formatted your code.
After a lot of testing, I cannot figure out why that error appears. Something to note: Someone else tried your code, and they were able to pass with it without the error.
The associated code which runs the tests is here:
I might spend more time later going through again. Otherwise, your code is correct, and you are welcome to skip that challenge. I hope you get this sorted.
kindly help figure out what could e wrong with my code , i am getting an error message of header sent. “[ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client”