Posts by user142879 • 46 points
2 posts
-
0
votes3
answers51
viewsA: This code n creates a <li> with the value specified in the function, what am I doing wrong?
Is there an element with the name ol in his GIFT? If you want to append an element with the tag ol should wear getElementsByTagName, nay getElementsByName. Out queries possibly returning null, there…
javascriptanswered user142879 46 -
3
votes1
answer5585
viewsA: Attributeerror: 'Cursoprogramming' Object has no attribute '_valuations'
self._nota = self.nota_media() self._avaliacoes = [] You’re calling nota_media() before initializing _avaliacoes. That way when you fall into condition if not self._avaliacoes, an exception is made…