Posts by Felipe Machado • 21 points
4 posts
-
1
votes2
answers34
viewsA: Results of an inconsistent average calculation
All data coming from a form comes as a text format, or conversion is required, parseint nota1 = parseInt(nota1); nota2 = parseInt(nota2); nota3 = parseInt(nota3);…
-
-1
votes2
answers34
viewsQ: Results of an inconsistent average calculation
In one exercise I asked to calculate the average of the notes,however at the time of showing appears a value completely out of logic Script function cadastrarUsuario() { let nome =…
-
0
votes0
answers77
viewsQ: Generate a table using String and innerHTML template
In one exercise, I was trying to create a table through DOM using template string and the innerHTML command Where I want to insert the td <tr id="boletinAluno"> </tr> Creating the…
-
1
votes1
answer52
viewsQ: Error when instantiating object [not defined]
I was doing a simple exercise, but when using the object appears as undefined... class Aluno{ constructor(paramNome, paramNot1, paramNot2) { this.nome = paramNome; this.nota1 = paramNot1; this.nota2…