anonymous user,
There is no public code for the learn.microsoft.com site.
If you want to build a similar site in SharePoint Online, it's necessary to make custom configurations, for more information, please refer to:
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.