Which Html element should be used?
I'm trying to code this for practice but I have no idea on how to go about it. The two images contains the desktop and mobile view. Do I use tables? Divs? I have no idea.
Thanks in advance.
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1250608400681664543/Screenshot_from_2024-06-13_01-10-37.png)
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1250608401063608400/Screenshot_from_2024-06-13_01-10-53.png)
2 Replies
I'd definitely use table
If you'e just displaying/sorting data then yeah, tables for sure. If it requires some interactivity like rearranging the row orders by dragging or something, then divs or div/table combo might work best.