That seems to work. I can now select the 2d submenu, in the gameobject menu. It says in the guide though, that i have to click on the button called sprite, to create a new sprite. If i do that, unity will instead open a whole new menu with different sprites.
Any of them. They’re just different built-in sprites applied to a SpriteRenderer.
Like how Cube/Sphere/etc are simply different built-in meshes applied to a Mesh-Filter & -Renderer.
You can swap out the sprite once you’ve created the GameObject, which is probably what the guide will have you do.
Just an FYI - if you are following the official learn tutorials then they do specify the versions that it is for (you can select which version you are using on that page, so it may change the steps to follow depending upon the version). Ideally, you should select a version that the tutorial is designed for and then use that version of Unity to follow the tutorial. I’m only saying this as the tutorial you have selected if for 2018.x and 2019.x versions, yet you are using a 2021.x version of Unity - so you will find that things are different in the newer editor (like the fact you had to install the 2D package, and the sprite menu is different).
That’s just something to consider as to whether you want to be able to follow the tutorial exactly, or if you are okay with finding the new ways that the newer version does stuff compared to the tutorial (which can slow you down as you have to try to figure out where things may have been moved to in the newer version).