Be careful using example domains.

Tom Klein is a highly experienced go-to partner for web-based & software development with skills in digital marketing, overall business, and modern technologies. At his young age, he already has 10+ years of work experience ranging from small and mid-sized start-ups from Canada, the UK, Germany and the United States, all the way up to multinational enterprises in the financial and technology sector.
His portfolio includes Google-backed companies, YouTube MCNs, banks and e-mobility startups besides a variety of other brands & companies.
His first website went live in 2006.
Every developer used an example domain before. Whether it was one of IANA's official example TLDs (e.g. example.com, example.org), private ones (e.g. yourname.xyz) or even whole suffixes (e.g. .local, .dev).
Some domains are protected by IANA for use in examples. [1]
There is nothing wrong with using these official domains, however, just as long as you stick to them.
Once you start drifting away from these standards, things could get ugly.
Google, for example, forgot to renew some of their domains used in their official help articles to represent its client domains. Somebody could have registered them and, worst case, redirect customers to a phishing site or similar. [2]
Privately owned example domains like beispiel.de may currently look like example domains, but could also be misused to redirect curious people to malicious sites. That's why I registered yourname.xyz, after being used in hundreds of examples. At that time, nobody thought there will ever be a .xyz top level domain. [3]
TL;DR - Stick to official example domains.
[1] https://www.iana.org/domains/reserved
[2] https://shkspr.mobi/blog/2020/01/even-google-forgets-to-renew-its-domains/
[3] https://support.gentlent.com/hc/articles/360002528637




