Publishing giant Usborne has been in the computer books business for many, many decades, and its productions were an entry point to the industry for unknowable numbers of coders. As with everything in a technology-led industry these books are very much of their time, but the whole aesthetic of these things is nostalgia catnip for those of a certain age. If you're the type who ever sat down in front of a Spectrum and spent half a day painstakingly copying out code, then the gaudy thrill of the illustrations for Computer Spacegames never fades.
There's a wide range, available for free on its website (opens in new tab). It rather charmingly advises that "these programs don't work on modern computers" though the books cover more than coding, and of course if you've got a BBC Micro or Commodore 64 in the attic then it's rock and roll time.
The books are obviously no longer in print, so fair play to the publisher for keeping them available and free. Usborne of course does keep up with the times and, should you want to seed some nostalgia in the next generation, has a contemporary range of books to teach kids some coding skills (opens in new tab).