Explain frontend and backend to a non-technical person.
Answer
- Use the restaurant picture: the dining room is the frontend (what the customer sees and touches: menu, table, plates).
- The kitchen is the backend (where the work and the ingredients are, hidden from the customer).
- The waiter who carries orders between them is the API.
- Frontend: HTML, CSS, JavaScript running in the browser.
- Backend: code on a server (Java, Python, Node.js...) plus a database that stores the data.
- A full-stack developer works on both sides.
Practice this question in Repaso