How to show code output in text?

@jayitsvcool wixData.get() requires an id to work in the first place. It gives you a single item in a collection, it does not give you results for the entire ‘title’ field.

You cannot declare id twice. Since you used const, id will always be “asdahdkjafhk65156”, and its new get() definition will only give you an error. You should search on the forum for how to pass data from the backend to the frontend. In order for it to work, you must use a return statement.