I wish I knew how to knit a hat. A scarf is as far as I have gotten.
Knitting a hat, in the round (seamless) on double-pointed needles, is the 2nd thing I teach my kids to knit. (The first being a washcloth in garter stitch). So easy, no seams, simple decreases, all stockingette if you want a rolled brim or K2P2 rib if you don’t.