JavaScript DOM Scripting By Example Improving the Application Code Fix Function that Should be Creating Links

Erik Young
Erik Young
Front End Web Development Techdegree Student 14,029 Points

????? Help?

Not really sure how to handle this, my guess is that I want to append the function for the a tags on to the creatediv, however, when I try to do that, I'm not sure how I'm adding that. Confusing...

1 Answer

Efrén Pastor
Efrén Pastor
3,140 Points

You need to append the link element after the h2, like this div.appendChild(link);

Hope this help you :)