What is frontend development?
The frontend concerns everything that a user can see on a web page. We also call it the ‘presentation layer’ or the ‘client-side’. Frontend code is code that is running in the window of the user, for example, the browser on your laptop or an application on your phone. This frontend code will change what the user can see.
This code will make sure that you can interact with the page. In the Booking.com example, you can select a place where you are going and put your check-in and check-out date. This is all done by using frontend code. Only the elements on your screen have changed.
However, if you actually want to search for a hotel in Amsterdam between the 20th of June and the 11th of July, the website will need to retrieve those data somewhere. The place where it retrieves that information is called the database. To retrieve that information, we need the backend.
So after you press ‘search’, the backend will retrieve the different hotels that are available between the 20th of June and the 11th of July in Amsterdam from the database. The frontend will then make sure that this is displayed properly on the screen of the user.
So frontend code can only change what the user can see. When the user needs to store or retrieve data from the database, they will need backend code.
If you want to know more about backend and the difference between frontend and backend, stick around with us.
Texidi: Your Journey Into Tech helps you easily understand the tech recruitment field with weekly content, podcasts with experienced recruiters and much more to come!
Follow us on Instagram and LinkedIn to receive regular updates and stay in the loop for new content and tune in for the first episode of our podcast series Recs & Devs and discover how to build up strong relations with developers, and how to make your way into tech!
Missed our first blogs? Check them out!