DEV Community

Elvis2280
Elvis2280

Posted on

What's the front-end rol

Hello, I have a small project I don't have so much experience just 7 months how front end, but my question is, I knot HTML is for structure and CSS design, but I also know JavaScript is so important just I don't understand in what situation front-end use JS, I have to do a filter bottom for cost and games category but I wonder if it's a front end role or back end, Honestly I don't understand so much difference roles (what I should do and learn and what no). thank you so much for helping me :)

Top comments (3)

Collapse
 
micahlt profile image
Micah Lindley

Frontend is anything that happens on the client side, or in your web browser. This might be something like triggering an animation or scrolling a page, or even making an alert. Backend all happens on the server side, which is a program running on another remote computer. It is mostly only used for sites with complex content or large algorithms. Backend code may or may not be JavaScript. Some common backend languages are SQL, NodeJS, and Ruby.

Collapse
 
elvis2280 profile image
Elvis2280

Thank u so much, then I just use javascript for things like show a box when the user click here, etc front end don't control or programming about category products? just make the box and picture space to show the product?

Collapse
 
micahlt profile image
Micah Lindley

Exactly! That's it 😁✨