+ 1
Can i combine Html,CSS , JavaScript with C/C++ codes
I made an online voting system using C and know I want to add a Chatbot, but it is made from HTML, Javascript, and CSS. Can I combine both codes or I have to make it all new from scratch?
6 odpowiedzi
+ 3
YES .INSERT THE JAVASCRIPT INTO A <SCRIPT></SCRIPT> TAG AND THE CSS INTO A<STYLE></STYLE> TAG
+ 2
https://stackoverflow.com/questions/27198437/is-there-a-way-to-use-c-in-javascript
Another way will be an API in Node.js
+ 2
you can combine HTML, CSS, and JavaScript with C/C++ codes. One way to do this is by creating a web interface (using HTML, CSS, and JavaScript) that communicates with your C/C++ backend through APIs or server-side processing. This allows you to incorporate your existing online voting system made in C and add the Chatbot functionality using web technologies without rebuilding everything from scratch.
+ 2
SUJAN can you show a full code example which works?
+ 1
your voting system is online, meaning it can be accessed with a browser? Then why not create a page with both chatbot and voting system in it?
0
According to your requirements you need html css and javascript u should not to use c CPP for such type of applications. It's pretty much hard to connect with server and database using c CPP .