Posts by tunnes • 1 point
1 post
-
0
votes4
answers1366
viewsA: Creating elements with jQuery
Using jQuery and literals template you can do something like this: var cardComponent = (cardData) => (' <div class="col s12 m7"> <div class="card"> <div class="card-image">…