So I have a Post model which has the following fields
title: String,
image: String,
description: String,
tags: [
{ type: String }
],
For creating a post, I made a form that takes inputs for the above fields. For the first three inputs, I just gave <input type="text">. But I am not sure how I can get the input for tags which is an array of strings. I am expecting something like tags = ["html","css","js"] etc. What would be a good way to input these in a HTML form ?