Yes, you can build a website with front-end knowledge only and nothing else . It could be a static website or a dynamic one if you also use JavaScript. Of course, your options might be limited if you are planning on creating something more complex which also needs a database and server-side scripting to be implemented.
Read moreWhat should I use for a website backend?
12 Backend Development Tools For Web Developers
Read moreWhat is the backend of a website?
The back- end of a website consists of a server, an application, and a database . A back-end developer builds and maintains the technology that powers those components which, together, enable the user-facing side of the website to even exist in the first place.
Read more