With baking you never know, there's a gazillion things that can go wrong. In your screenshot though you don't have a BSDF connected to the surface output, you have the color ramp directly and that shouldn't be. Connect a Principled BSDF shader to the surface and the color ramp to the color slot of the Principled and try again.
You have bake type set to emit, yet there is no emission in the shader.
In previous versions of Blender the node wrangler shortcut SHIFT+CTRL+CLICK used to add a Viewer node, this no longer happens as the Material Output node has been updated to handle data from different nodes other than a shader node.
Add an Emission shader node prior to the material output and it should work as in the course.
Hi vvioletcrystal ,
The problem is not the 'missing' Emission Node (it's not actually missing, just not shown..it's still being used in the background), but:
You didn't tell Blender what Attribute to use (the Name field in the Attribute Node is not filled in!).
Oh well spotted Spikey.
I know its all done under the hood now, but like Omar, I would of thought a shader node would be needed. I thought the material node worked just for display purposes and didn't work the same for baking.
Learn something new everyday with Blender, even after 10 years.
Keep on learning everybody!