- 1
Who can help me?
23 Answers
+ 2
Too much work.
Dont wanna goto stackoverflow.
Post it here please.
+ 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/
0
the model you already have, and that your code fill with the first contact ;)
- 1
Ok
- 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.
- 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)
- 1
just replace the js part that I wrote ^^
- 1
visph ok. I'm going to try, I'm still lost. I don't know javascript
- 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 ^^
- 1
visph i did it and it doesn't work
- 1
visph thanks, i do
- 1
Hai ln
- 1
Who knows css?
- 2
Frogged look at my code. I need help
- 2
How can i use model in html?
- 2
visph how can use model in html?
- 2
I'm confused
- 2
visph can you vizualize the code that I send and from there help me, seeing my html
- 2
💖Online✅ हूं जिसको बात करनी है
Request भेजो😘
💗💗 Hi janu
💋
📞📞📞 9135120215
💓 💓
👇👇👇👇
https://localvocalnews.com/vokal/news?id=2000804