How i can do a Pagination System with Javascript and Json | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How i can do a Pagination System with Javascript and Json

Hello, for about 1 year I have been fighting my biggest and most difficult challenge. Create a pagination using only javascript, obtaining data from a json. The first part that was to render the data I got from json to html is done, but the pagination I have no idea how to do. I wanted to page 2 items per page, but I wanted something dynamic, that as I increase the size of the json file with more data, the pages are generated automatically without having to change the code. Please, if anyone knows and can help me, I will be extremely grateful. I am Brazilian but I understand some English, I can send a small amount of money to anyone who can help me, please. Code https://justpaste.it/PaginationHelp I have Telegram: @TheReyzer If you want to talk with me Please.

3rd Jan 2021, 12:01 AM
TheReyzer TM
TheReyzer TM - avatar
9 Answers
+ 1
You speak portuguese?
3rd Jan 2021, 1:32 AM
TheReyzer TM
TheReyzer TM - avatar
+ 1
Because Daniel is a popular brazilian namd
3rd Jan 2021, 1:32 AM
TheReyzer TM
TheReyzer TM - avatar
+ 1
Se você quiser fazer isso. Você precisa especificar as tags em json. exemplo: { "img": {"href": "......."}}
3rd Jan 2021, 1:33 AM
Daniel Briceño
Daniel Briceño - avatar
+ 1
Você pode especificar qual tag deseja, quais imagens deseja, mesmo a cabeça, você pode extrair em json
3rd Jan 2021, 1:33 AM
Daniel Briceño
Daniel Briceño - avatar
21st Aug 2021, 4:26 AM
Calviղ
Calviղ - avatar
0
Don't, xd, but I think we can understand each other
3rd Jan 2021, 1:33 AM
TheReyzer TM
TheReyzer TM - avatar
0
O que você acha de mudar o json.
3rd Jan 2021, 1:33 AM
Daniel Briceño
Daniel Briceño - avatar
0
Interessante, o que vejo do seu arquivo são imagens puras. E se você especificar mais.
3rd Jan 2021, 1:34 AM
Daniel Briceño
Daniel Briceño - avatar
0
Se você quiser pedir algo, primeiro terá que tirar as dúvidas. porque assim posso ver como posso trabalhar ou os limites que não devo ultrapassar
3rd Jan 2021, 1:37 AM
Daniel Briceño
Daniel Briceño - avatar