Hello! Could someone help me out how to create a link with just using JC. Its needs to be attached to the end of the fourth <p> that comes from the second <div> and it shall show <p class"shower"> that is hidden. I have tried a few things and failed hard. Sadly i cant find it on youtube either. Some help would be really appreciatet
jepp. Love that the teacher gives assigments that we even havent gotten too. Started JC 2 days ago. Just learned what document.getElementByID() is :P. haha. Distance course
Basically, I'm getting the elements by the tag name (div and p). This will return all the elements in an array, so then I need to tell it which one I want in the square brackets. After I've found the fourthP, I can modify the HTML.
I'm always up for networking with fellow web professionals. Connect with me on LinkedIn if you like!
Bookmarks