A real project is an excellent way to pick how to do web development.
Have you got any hobbies or interests?
Why not create a website dedicated to your hobby/interest?
That way it'll be something that you'll be able to run over the course of a few years.
Start with a small website, and slowly build it up.
Add more features, then tweak them.
Find out why it's loading slowly.
Read a few books on website that scale too.
What is "correct" but "sufficient for the needs of the task"? If your method is not sufficient for a future need, you will only discover that by doing more.