Connect html with mit app

As @TIMAI2 already explained patiently

All you have shown us (which is not a part on an appinventor aia project) is a short javascript script. You have not really shown what you are trying to achieve, and how, making it very difficult for others to advise on what you should do.

Please provide more detail, your appinventor app / blocks, arduino code (HC05), html code, and how you expect it to all work together....

You also can read again how to ask questions to be able to get answers here in this community


You do not necessarily need HTML for that. You could also just implement a form in App Inventor.

You could also consider trying to use RFID (in which case, AI2 might not even be necessary).

but i dont wnat rfid