I am a beginner in coding and this is a very stupid question:
I have 3 different columns with tasks: waiting / working / done
External js file with array:
var tasks = [
{
title: 'First Task',
picUrl: 'imgs/test.jpg',
status: 'pending',
},
{
title: 'Second Task',
picUrl: 'imgs/another.jpg',
status: 'running',
},
];
And template:
<script type="text/x-handlebars-template" id="post-template">
<div class="post">
<p class="post-title">{{title}}</p>
<img src="{{picUrl}}" alt="{{picAlt}}" class="post-Pic" />
</div>
</script>
How to separate them via status and put them in different columns?