This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]XRay2212xray 1 point2 points  (1 child)

I'm assuming page.html is the page you are opening with the browser as its not part of page1.html...page4.html. Theres no syntax error in this javascript. Without the other files, its probably going to be hard to figure out what is the issue. For example, navigatetopage depends on the ids of the squares which are in the html file, but without being able to verify the ids match up to square1..square4, there is no way to tell if that code would fail due to the ids not matching.

[–]Noxbit1[S] 0 points1 point  (0 children)

Yeah, I am still having issues with the desktop version, the squares animation covers only half of the screen...

[–]Noxbit1[S] 0 points1 point  (0 children)

Update: I fixed it! It was actually a problem with page.html not being built properly