I have a problem with my code and i don't know what it is

I am a beginner in js, and am working on a miniproject for practice.
i have to create a web page that does a greenscreen algorithm so that it mixes two pictures: foreground image(the one with the greenscreen) and a background image(the one replacing the green pixels in the foreground image)

this is the link for the code on codepen: The code

What problems are you having? Be as detailed as possible. Explain how we can duplicate the problem.

what is the problem are you facing…?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.