Python Flask Basics Welcome to Flask First Steps

dakota ferrell
dakota ferrell
2,336 Points

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,643 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.