Skip to content

Tag: html

How to integrate python chatbot to a website

I have created a chatbot in python. I have also created a UI in html, css and js and connected the python chatbot to ui using flask. This is how it looks. UI Image How to flow goes is when a user inputs in the chat ui, the content is sent to flask and from flask to python file. The

How to simulate keypress with a button click on Javascript?

I am currently working on a calculator and wondered if there is a way to link keypresses to buttons so when I click a button, it simuliates the key being pressed and sends that info to the textbox. When I google, all the info I get is enabling buttons by keypresses but not the other way around. If someone cou…

Retrieve specific data from firebase Javascript

New to javascript here. I’m trying to pull a specific set of data from my firebase database and print it to my website but I am struggling to do so. The problem is it prints out every field in the database. As you can see in this image, I would like the fields for just that particular ID printed out

Add/Remove CSS Class with JS Loop

I have a navigation menu that displays a group of notes from the clicked topic. The note can either have class note if it is visible or class invisible if it is hidden. I want only the notes from the topic clicked to show. The problem is that some notes from other topics are also being shown. Even though the