Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Database data on the site #33

Closed
samjam48 opened this issue Dec 6, 2019 · 1 comment
Closed

Show Database data on the site #33

samjam48 opened this issue Dec 6, 2019 · 1 comment

Comments

@samjam48
Copy link

samjam48 commented Dec 6, 2019

You need to load the information from the database onto the web page. You have managed to get it sent to the front end and arrive in the javascript.

You might want replicate how 'coda-squall' are doing it
https://github.com/fac18/week6-coda-squall/tree/master/public/js

You want to create a function such as populateTable() that will go through the array of row and make a HTML row of the data then append all the rows to a table in your HTML.
You will call this function and pass it the array of row data that you are receiving from the backend

@kin-au
Copy link

kin-au commented Dec 6, 2019

Refer to issue #38

@redahaq redahaq closed this as completed Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants