DEV Community

Discussion on: Writing a searchable “database” with pure HTML, CSS, and JS

Collapse
 
micahlt profile image
Micah Lindley

Hmmm... That's an interesting question. There's a lot of stuff I would change if I was to rebuild this project since my knowledge of the web has increased many times since I wrote this. A fixed header would be one of the things I'd add. Probably the easiest way would be to separate the header into a different table in the HTML, though it would be cleaner to add some JS logic that simply unshifts the first row of the table to the actual results.