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>
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login


ue