Can i combine Html,CSS , JavaScript with C/C++ codes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

2nd Dec 2023, 7:53 AM
144 Riya Singh
144 Riya Singh - avatar
6 Answers
+ 3
YES .INSERT THE JAVASCRIPT INTO A <SCRIPT></SCRIPT> TAG AND THE CSS INTO A<STYLE></STYLE> TAG
3rd Dec 2023, 1:40 AM
JOEL ENDE NATHANIEL
JOEL ENDE NATHANIEL - avatar
2nd Dec 2023, 9:32 AM
JaScript
JaScript - avatar
+ 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.
3rd Dec 2023, 6:59 AM
SUJAN
SUJAN - avatar
+ 2
SUJAN can you show a full code example which works?
3rd Dec 2023, 9:35 AM
JaScript
JaScript - avatar
+ 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?
2nd Dec 2023, 8:04 AM
Bob_Li
Bob_Li - avatar
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 .
2nd Dec 2023, 3:57 PM
A S Raghuvanshi
A S Raghuvanshi - avatar