complete-javascript-course
complete-javascript-course copied to clipboard
Forkify project. Bookmark issue. [Lecture 302, 13:40]
Hi, So, I 'm at the end of the course and trying to implement the Add Bookmark feature Now, when I click the bookmark icon i get the error (see the image). I tried to go back couple of lectures and rewrite the code carefully, yet the error still stays
As error states, the problem is in this code of view.js
if ( !newEl.isEqualNode(curEl) && newEl.firstChild?.nodeValue.trim() !== "" ) { curEl.textContent = newEl.textContent; }
Any solutions?
Hi, it's best to post questions in Udemy's Q&A section of this course because that's where we provide regular support. Feel free to post this question there with a link to your project on GitHub. Either me or someone from the team will check this 🙂
Hey, thanks for the reply I decided to start it again from scratch after I finish some other courses But, noted the advice!