Hi Roshan,
It seems you just copy and pasted the code but didn’t change it to suit your site.
In the data queries on your code you have left it as
wixData.query(collectionName)
They should have the name of the collection you want to query in between the parentheses, not just collectionName.
Make sure all values match the element ids and collection names on your site.
I hope this helps!
Dara | Corvid Team