Such a Noob question I'm embarrassed to ask but


#1

Brand new to JS and Ionic but I’m confused by the best practices for the tags.

I’ve seen in docs and example code that seem(?) to use two ways of defining a feature:

`<div class="row>

some content
`

…as well as…

<ion-row> <ion-col class="col col-50"> some content </ion-col> </ion-row>

So my question is when should I use <ion-...> and when should I use <div class"...">?


#2

In general, using the ion tags is good because it makes use of ionic directives and includes any goodness that goes along with those.

In this case, I’m not familiar with ion-row and ion-col. For the grid system, the Ionic documentation says to use the class names: