Learning course: Web development using JavaScript
Problem Link: CodeChef: Practical coding for everyone
Feedback
ths is a code var newpara=document.createElement(‘p’);
newpara.id=“paragraph2”;
newpara.innerHTML=‘Best place to learn, practice and assess myself’;
document.getElementById(‘paragraph1’).appendChild(newpara);
and if I do it by changing inverted double commas to it like
var newpara=document.createElement(“p”);
newpara.id=“paragraph2”;
newpara.innerHTML=‘Best place to learn, practice and assess myself’;
document.getElementById(“paragraph1”).appendChild(newpara);
what the rubbish is this , it is giving same answer or do you want to confuse the student