If I want to connect a frontend made with(html, css & js) to my backend in Django, how to link frontend to my backend ?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

If I want to connect a frontend made with(html, css & js) to my backend in Django, how to link frontend to my backend ?!

How do I connect frontend to backend, how to make the frontend code connect and make it equally responsive in backend. Is there a API or something which I can use ?!

22nd Jun 2021, 7:46 PM
Kastuv Pokharel
Kastuv Pokharel - avatar
2 Answers
0
i dont have much experience with django, but i have used flask. i would assume you would have to create the framework in django and have your html/js/css files within the django directory. there are some tutorials on youtube for deploying a django framework.
22nd Jun 2021, 8:12 PM
you are smart. you are brave.
you are smart. you are brave. - avatar
0
After 1 year here I am, figured out manythings and now doing C programming. So I did django, django has its own templating language which is very similar to html and css. Work on html,css and js is used in the template directory for the execution which is later connected while modeling, well it was nice journey with python.
19th Sep 2022, 12:27 AM
Kastuv Pokharel
Kastuv Pokharel - avatar