Posts by B. Batalha • 25 points
6 posts
-
-2
votes2
answers37
viewsA: Footer is not being responsive
Try to remove the position: absolute
-
2
votes3
answers816
viewsA: Compare values of 2 different arrays with JS
There’s a very simple way to do this, if you’re not dealing with objects, just do it: if(vetor1.toString() === vetor2.toString()){ console.log('São iguais'); }else{ console.log('Não são iguais'); }…
javascriptanswered B. Batalha 25 -
0
votes2
answers116
viewsA: Array returns nothing
#include <stdio.h> #include <stdlib.h> int main() { system("cls"); char letra[10], consoante[10]; int i, x = 0, contaNumeroDeConsoantes = 0;; printf("Faca um Programa que leia um vetor…
-
0
votes2
answers380
viewsA: The set function of the state of the React is not actually receiving and passing on the values
1. Remove the function postLoader() from within the useEffect(()=>{},[]), for reasons of readability; 2. The setPosts method and anyone coming from useState(), does not update immediately, ie…
-
0
votes3
answers81
viewsA: How to view a modal automatically when entering the site?
As your modal is opened according to what is in the URL, you can simply use the function window.onload= function(){} javascript, along with the window.location and window.location.href + idModal, ie…
-
0
votes3
answers383
viewsA: Change Bootstrap 4 button background
Just look at the CSS code of Bootstrap and then check what happens in each class as for example the class. btn-Primary because depending on the state (Hover,disabled and etc) of the button it may…