I wanted to create a Single page App without using front-end frameworks, since it was a small project.
So when user clicks on navigation, it fires an AJAX call and appends (HTML code with formatted data) it to HTML.
This is how it looks: https://gist.github.com/yask123/c786f49c7118e4cd91eab5c56f69257d
Is it super bad practice to do so ? Or should I use Handlebar.js just for this ? (Would it be an overkill just for one thing ..? )
Live app: http://dtumart.com/
Loading an entire framework/library for a single action is usually overkill and there can be several benefits to creating your code in the logic.