I'm trying to make a chat that shows my old replika chat but it does not seem to work as it should

I’m trying to make a chat that shows my old replika chat but it does not seem to work as it should bc I just get undefined in the chat and a small white box

https://replit.com/@HOLDULV/note-of-noters

Can you elaborate more about what are you trying to do and the full problem you are facing (details)?

Additionally, if you could provide more information on how you’re fetching and displaying the chat data that might help too.

2 Likes

ok i use json to and js to get the data and then i use js to let the json show when a user have click on exsampe messages and then when the messages should apear but it seems it does not working i also use css to make the chat design but all the data comes from 3 json files and this json files is from replika the the js, css and the html kinda works bc i get the undefined error
here is the website
https://note-of-noters.holdulv.repl.co/

but it’s maybe bc of the json

You seem to be getting this error:

caught TypeError: Cannot read properties of null (reading 'querySelector')
    at script.js:125:25

There doesn’t seem to be a table with the id user-table which seems to be at the root of the issues you are having.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.