Basic website needs

hey guys
How are you?
I am planning to make a website and starting a journey for it but as I am a newbie I need to know certain things.
Firstly I know
Hosting is needed
Domain is needed
But what I wanna know is what are the other things needed to rank a particular website
For example great blog post
Also is there anything I am missing?
What are the small important things that really results in a good rank
What are the things that I am missing?