Can you please tell us more which code you talking about? If it is analytics code, then those code should be placed in a website header. If you do not have any website, then you don't need the codes :-)
Website[ Edited ]
December - last edited December
I do not think that anyone can explain you here on how to create a website here on this forum and via this space. Broadly, there are two ways:
1. Use a pre-made website template (you can find 100s online both free and paid, just google it) or use a service such as wordpress, wix, jimdo etc. or as @Holley J mentions.
The name of a website is, well, the domain name (eg: www.the-name-of-your-website.com). If you are lucky (to get the name and tld of your choice) then you can register the name via any of the many available domain registrars. Point the domain to the hosting or if you choose the option one then you have the option to register and connect the domain with the service provider.
Most importantly ask the questions to the right community. That will save you time and will help you learn much faster.