Home › Forums › JavaScript › Learning JS › Reply To: Learning JS
September 22, 2014 at 2:10 pm
#184157
Participant
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.