The thing is, I need to know how I can connect the two codes together, so I can see the effect on the page. I have tried to embed JS’s code in HTML code by using but it didn’t work. I also tried to use the src, and link and both didn’t work as well.
Please see pictures attached for both JS’s and HTML’s codes.
Any help please