The best place you can learn OpenGL (apart from our tutes /s) is probably learnopengl.com. This website explains a fair amount of our syllabus well and walks you through every basic aspect of OpenGL extremely well. Any problems you have have probably been explained here.
For now, try reading the getting started section uptill "Hello Triangle".
-
Boilerplate2023
contains a barebones boilerplate that you may use for your assignments -
Use the boilerplate to checkout learnopengl.com
-
OpenGL's documentation can be found here