New course! Every coder should learn Generative AI!
Try a free lesson+ 9
https://code.sololearn.com/WHIJ5bG8Gy2V/?ref=app Here’s a simple chatbot. I could’ve used a switch statement, or put the answer directly into the HTML and so on, but this should be a good base for you to build on? Just add the following for each additional possibility:
else if(text == "input"){
alert("output ");
}
Replace input with what will be in the
- 1
oTARANo извини что не по вопросу, но https://www.sololearn.com/discuss/1857890/?ref=app
- 4
Hi
- 5
Hii