Javascript pure, json and api

0

Hello everyone, I'm having a question, I'm starting with web development and tals and I'm studying some javascript and json. Well let's my doubt, I'm getting information from a json file and submitting via javascript in html.

I'd like to know how I can go to a specific page with the specific information for each of the card when I click on it. That has some extra technology. Will I need to use a database? Or it's something in the url. I searched a lot about it and found no answer. I think because it is something very specific.

    
asked by anonymous 29.12.2016 / 21:50

1 answer

0

If your site is purely Client-Side, for each specific page of a card, you would have to load json again with all the cards and only present one.

Now if you have a database at your disposal, it's best to put each card in it and get the data for each one when you need it.

    
29.12.2016 / 22:16