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

Python Flask Basics Templates and Static Files Flat HTML

python and building a website

​if you were making a website with python and you know python and HTML do you need to know java or do library's like flask and Django allow you to do it without java script.

is java script really even needed in order to make a website if you can design and run it with html and python flask?

2 Answers

Ari Misha
Ari Misha
19,323 Points

Hiya Dakota! I'd really recommend ya learning JavaScript. JavaScript is what makes your website dynamic , interactive and fun. Like HTML and CSS, JavaScript is considered a front-end language whereas Frameworks like Flask, Django, Rails, Spring , Laravel, etc they all are back-end languages which handles all request-response cycle, authentication, dynamic urls, data persistence etc etc. So yeah in order to be a web developer , you need to be good at both front-end as well back-end.

But in order to go through your Flask or Django course, you just need to know enough JavaScript to understand going on. You dont need to be like pretty good at it. Its not pre-requisite for this course but if ya know JavaScript , its defo a bonus for ya. (:

how long do you think it would take to learn js? i have some knowledge of flask and almost finished my python basic course and feel like i have learned alto and not able to really do anything cool. I don't know what my next steps are or what I can really do with the basics of python i know besides little stupid tasks. I want to make websites in the future and maby later on make apps for phones and do some robotics stuff with programming.

Ari Misha
Ari Misha
19,323 Points

Python in itself is a powerful and versatile language. Dont underestimate a language. Every language has its own perk and cons. And since you've already learned a lot about flask and python, you could go ahead and check out JavaScript course. I dunno how much would it take you to learn and everyone learn on their own pace. You should be highly motivated coz you're already done with the hard and most important part. Just continue your learninga nd take your projecs and unlock your full potential. Try to build a basic website on your own. (: