How I Explain to My Grandma That I Am a Frontend Developer
Tags: javascript, html, css
Published: 2019-08-21 11:23:43

I've been a frontend developer for over two years. At times I found myself in situations where I had to explain what I do to people who know nothing about programming. So now I'm giving my best to clarify how lines of code typed on my keyboard are transformed into something you can see, click and even use in your day-to-day life.

## Let's start from basics — programming.

We all speak some language. We use it for a lot of things, but, generally, we use it for communication. The same thing works with computers.

We want to make them do something for us — we communicate with them. Unfortunately, computers don't speak English yet, however, they use something that is called  "machine code", simply put, the language of computers. So skipping some details, we may say, that programming is when you can tell the computer what to do by speaking their language. That is clearer now, isn't it?

## What language do you speak?

We figured out that we need to speak some language that computer can understand, but what is that language?

There is more than one language we can use. All of them serve the same purpose — to turn our thoughts into something a computer can understand. Why more than one, you might ask. Here is the answer: each of them serves a different purpose. They are just tools, and we usually choose different ones depending on the goal we want to achieve.

Let's take, for instance, a car and a bicycle. They both have wheels, take us to the desired destination — but evidently, we use them for different purposes. You’d probably decide to use a car instead of a bicycle if you want to go to another country unless you want to burn thousands of calories. In programming, it's the same, but burned calories are equal to hours you spend on your work. You don't want to spend thousands of them, right?

In general, one language is better for analyzing data and forecasting, another one — for calculations and statistics, yet another one — for building websites, applications and so on.

## Getting closer.

Alright, I guess everything is still quite clear for you, so let's get to something more specific, that I do personally. We'll talk about creating website's and application's interfaces. They are, simply, parts that you see when using any website. That is called frontend development. We finally get to the part, where I'll explain in simple words, what I do every day.

## HTML, CSS and JavaScript.

Have you ever wondered how the browser works? How can we watch movies, listen to music, read the news on a portal, play games and perform many activities, just by typing anything in a search bar?

Behind the scenes, three core things make it happen — HTML, CSS, and JavaScript. I know, things are getting complicated, so let's take a look at this simple example.

Imagine a play button in your music player. The button itself — that's HTML element.

HTML is used for adding content onto the page such as text, images, links, and even videos. For example, HTML would allow you to put a play button in a certain position on your webpage.

Following on from the example above, CSS would allow you to change the size, color, and style of the button you added with HTML.

However, when you want to interact with said button and perform some actions, for instance, music to start playing, message to be sent or log in somewhere — this is the work of JavaScript. It can be used along with HTML and CSS.

Also, JavaScript is often used separately, when it comes to creating in-browser games, programs, and even mobile applications, which makes knowledge of this language a very powerful skill.

## Frontend developer.

To put things simply, JavaScript is designed to make frontend development easier and more attractive. In most cases, JavaScript is used to create responsive, interactive elements for web pages, that improve the user experience. Things like menus, animations, video players, interactive maps can be created quickly and easily with JavaScript.

Everything you've read above, that's what we, as frontend developers do. We are responsible for creating those elements, putting them all together and making them interact with each other. We are the builders of the part of the web, that you can see with your own eyes. We are the guys, who know how to speak with computers:)

Another great thing about programming: many people think that it is is about logic and mathematics only, however, it is also about creativity, problem-solving and thinking two steps ahead. It also requires us to be constant learners, to teach ourselves to think ahead and to be able to focus on something. We need to be patient, especially when it comes to solving complex problems, and to be ready to learn new things every day.

## Let's sum it up.

I hope, now it is more clear to you who are frontend developers are and what they do. Moreover, if you’re a frontend dev then it would be easier for you to explain to your grandma what exactly it is that you do on computers whole day:)