I submit to you that web development and php are two different things. Many people learn them together, but they can be learned separately. For example, creating web pages is as simple as create .html file on your desktop, editing it with notepad (or whatever) and opening with your browser. There are CORS services you can make ajax calls against, when you get to that point. This way you can learn frontend html, css, and javascript completely independent of backend code.