JavaScript: Modifying DOM and populating it with JSON data
-
i’ve got a JSON data base, and need to populate a website with it’s content. It’s the first time a try doing something like this (still learning JS).
<div class="cardsection"> <div class="card"> <div class= "photoandname"> <div class="profilphoto"> </div> <h2 class="name"> </h2> </div> <div class="informations"> <h3 class="location"> </h3> <p class="caption"> </p> <p class="price"> </p> </div> <div class="tags"> <button class="tagButton"> </button> <button class="tagButton"> </button> </div> </div> </div>