First, try to build a single-page website then go for a multiple-page website. Make sure you know about debugging of errors as well because most of the beginners stuck there so understand which type of error it is. Once a website is ready I have hosted it from 000webhost which was a free hosting site. After hosting my site I have come to know about how important is code reduction, proper page linking (internal and external), remove unwanted code. By using PageSpeed Insights we will come to know all this information. And last part how the viewers will reach out to our websites the concept called SEO is used. I have used on-page SEO on my website. We have to catch more traffic on our website using on-page SEO and off-page SEO.