0

I created a node.js connection to my mysql database, and I am able to retrieve and input data to my database using connection.query(). Now I wan't to be able to show the data on my database on my html elements values, is there something like getElementBtID. I have no idea how to do it because I'm new to back end development.

1

1 Answer 1

0

You can render the html server side with something like 'handlebars' or 'pug'.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.