The code is working correctly. The problem is that you're using the theme called "Copy of Parallax" while the active theme on your website is called "parallax".
You need to publish the theme "Copy of Parallax" to see the changes.
Or, alternatively. add this same code to the theme called "Parallax" as well.