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 Welcome to Flask First Steps

Do you need Java script if you use Flask?

Do you still need Java script to make websites if you use Flask instead? Also can you still use / need HTML and CSS with Flask?

1 Answer

Mark Tripney
Mark Tripney
8,666 Points

Hey, Dakota.

You will need HTML to make a Flask-based website. You don’t strictly need CSS or JavaScript, but you’ll very, very likely want to use the former and, depending what you need your site to do, you’ll likely use the latter, too. You can accommodate CSS and JS files as ‘static’ files in your Flask build.

Remember, Flask is the framework. JavaScript will still add the interactivity to your site that it would for a non-Flask build - Flask doesn’t replace it.