Parallax effect on image

Hi, I’m trying to make a website for a school assignment and I can’t seem to find a code that creates a parallax effect on an image. I want something similar to the link below. Does anyone have a vanilla code?

https://jordanhudgens.github.io/digital-literacy-html-css/index.html

You could maybe google ‘parallax effect’.
Here’s a nice tut: https://www.youtube.com/watch?v=d34GsFz-HkY

You could just fix the position of the image, like this: Navigation buttons

Add rest of the elements in above the image. That should do it.