If you need a website for online marketing, then WordPress is likely the better option. WordPress is easy to use and can be set up quickly. However, if you need a website with custom complex functionality, then coding it from scratch may be the better option. Coding a website gives you more control over how it looks and works, allowing you to create a unique experience for users.