Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Aissa Toumi
1,511 Pointsisnt the browser taking the html and css and javascript from the server wich makes everything a back-end thing!
isnt the browser taking the html and css and javascript from the server wich makes everything a back-end thing!
1 Answer
Travis Alstrand
Treehouse Project ReviewerYes, the browser does request HTML, CSS, and JavaScript from a server, but that doesn’t mean those languages are “backend.”
Frontend vs Backend isn’t about where the files live, it’s more about where the code runs.
Frontend (HTML, CSS, JavaScript)
- Runs in the browser, on the user’s device.
- The server just stores and sends the files.
- The user’s browser does all the work of displaying the page, applying styles, and running JS.
Backend (Node, Python, PHP, databases, etc.)
- Runs on the server, not in the browser.
- It handles things like:
- saving data
- authentication
- managing databases etc.