Firstly, I am pretty much new to coding. However, I have a basic knowledge of HTML.
Can anyone explain what do backend and frontend means and if the frontend is HTML and backend is PHP then the website is developed using HTML language?
Basically everything that you see if you right click “view source” or “inspect” on a browser is front end: HTML/CSS/JS. Anything a user can see/click on a website.
The back end is like the routing and hidden information. So back end code will say what Front end to load if you go to freecodecamp.org/ vs freecodecamp.org/forum vs freecodecamp.org/learn and also hold calls to databases and API keys. Users should never have access to this information.
Thanks for the response @pjonp. Suppose if I want to create a page on the website(Backend PHP & Frontend HTML), do I need to write the code in HTML or in PHP?