How do I wrap a div around specific fields in a view? I have to make a small website using drupal 8 for a school project but I keep getting stuck with the twig templating. I'm trying to wrap a div around certain fields in drupal 8 with twig.
The layout at the moment is as follows(this is an example);

&lt;div&gt;
Content type image
&lt;/div&gt;
&lt;div&gt;
Content type Title
Content type Category
&lt;/div&gt;


Is there any way to accomplish this using a twig template for the certain view?



The bottom two items have to go in a div.
To add CSS classes you don't need to use Twig, you can do it using the Views UI

Click on your field. Then under style settings, checkmark customize field HTMl and select DIV as your element. Checkmark create css class and type your class name.