4th Mar 2021, 6:03 PM
Indrid Gomez Solis
23 Answers
+ 2
Too much work. Dont wanna goto stackoverflow. Post it here please.
4th Mar 2021, 6:31 PM
Oma Falk
Oma Falk - avatar
+ 1
What do you want theres nothing in the link you can message me on Instagram. I can help you there https://www.instagram.com/sharma0rohit/
6th Mar 2021, 5:53 AM
Neutral Me • 13 years ago
Neutral Me • 13 years ago - avatar
0
the model you already have, and that your code fill with the first contact ;)
4th Mar 2021, 7:41 PM
visph
visph - avatar
- 1
Ok
4th Mar 2021, 6:32 PM
Indrid Gomez Solis
- 1
I need to do this : Make a WEB agenda which will show the list of all the contacts saved in the phonebook and will allow you to store new contacts. Their name, surname and telephone number will be stored for each contact. Using the fetch function you will be able to obtain through the HTTP GET method the list of all contacts stored in the phonebook in JSON format using the following link: http://www.raydelto.org/agenda.php. Similarly, invoking the same url using the HTTP POST method and sending a body JSON with the fields name, surname, phone you can add new ones contacts to your phonebook.
4th Mar 2021, 6:34 PM
Indrid Gomez Solis
- 1
to output all contacts using model in html: ).then( function(captura) { var contacto = document.querySelector('.contacto'); var list = contacto.parentNode; list.textContent = ''; captura.forEach(c => { var txtNombre = contacto.querySelector("#txtNombre"); var txtApellido = contacto.querySelector("#txtApellido"); var txtTelefono = contacto.querySelector("#txtTelefono"); txtNombre.innerHTML = c.nombre; txtApellido.innerHTML = c.apellido; txtTelefono.innerHTML = c.telefono; list.appendChild(contacto); contacto = contacto.cloneNode(true); }); } ) to get element by id we must use querySelector as it is available from any element (unlike getElementById)
4th Mar 2021, 7:23 PM
visph
visph - avatar
- 1
just replace the js part that I wrote ^^
4th Mar 2021, 7:44 PM
visph
visph - avatar
- 1
visph ok. I'm going to try, I'm still lost. I don't know javascript
4th Mar 2021, 7:50 PM
Indrid Gomez Solis
- 1
I'd still seen and investigate the whole (html/css/js) code you send... I've provided you the corrected js code part needed to display all contacts in the page... you must at least be able to copy/paste to mix it with your working part ^^
4th Mar 2021, 7:55 PM
visph
visph - avatar
- 1
visph i did it and it doesn't work
4th Mar 2021, 8:00 PM
Indrid Gomez Solis
- 1
visph thanks, i do
4th Mar 2021, 8:05 PM
Indrid Gomez Solis
- 1
Hai ln
6th Mar 2021, 4:29 PM
Prempal Rana
- 1
Who knows css?
14th Apr 2021, 3:46 PM
Indrid Gomez Solis
4th Mar 2021, 6:38 PM
Indrid Gomez Solis
- 2
Frogged look at my code. I need help
4th Mar 2021, 6:38 PM
Indrid Gomez Solis
- 2
How can i use model in html?
4th Mar 2021, 7:40 PM
Indrid Gomez Solis
- 2
visph how can use model in html?
4th Mar 2021, 7:40 PM
Indrid Gomez Solis
- 2
I'm confused
4th Mar 2021, 7:44 PM
Indrid Gomez Solis
- 2
visph can you vizualize the code that I send and from there help me, seeing my html
4th Mar 2021, 7:51 PM
Indrid Gomez Solis
- 2
💖Online✅ हूं जिसको बात करनी है Request भेजो😘 💗💗 Hi janu 💋 📞📞📞 9135120215 💓 💓 👇👇👇👇 https://localvocalnews.com/vokal/news?id=2000804
6th Mar 2021, 4:29 PM
Prempal Rana