Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialcristian gherghel
6,259 PointsHTML Dinamic Table
Hi, please advise me what type of HTML elements i should use in order to create an HTML dinamic table like the one attached, considering that i want to display data from db, (angular.js+couchdb), and select it from states on the top. thank you!
2 Answers
Jeremy Germenis
29,854 PointsI would use a standard table < table > for the structure and do something like use id's to distinguish which table row < tr id="idName" > is which and use classes to target the data in each table cell < td class="className" >.
cristian gherghel
6,259 Pointsbut there is any javascript to generate the table according to the database?
cristian gherghel
6,259 Pointscristian gherghel
6,259 Pointshttp://thedigitallabs.com/test.png