The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Learning JS Reply To: Learning JS


Regarding your “@null” result:

You’ve structured your HTML differently than my JS expects. It’s looking for data-author on the article itself, while your HTML defines a span inside the article with data-username. One or the other needs to change so the attribute is where the script looks for it.