Posts by DeElfos • 92 points
6 posts
-
1
votes2
answers65
viewsQ: Correct unbalanced parentheses
Given a string filled with any number of parentheses, find the minimum number of parentheses to be included in the string so that it is valid. Examples: Input "(()()" must return: 1 - "(()())" Input…
-
1
votes2
answers49
viewsQ: Doubts about usability - var e functions - Javascript
I came across a situation that until today had not occurred, my friend was coding and made the following block of code (only simulation) function teste() { teste = true // Ele faz uma verificação if…
-
1
votes1
answer1070
viewsA: (Reactjs) Hide div by clicking button
In the parent component, creates a state to show or not the component: state = { mostrarComponente: false;} By default it will be false, so the same will not be visible. Done that, create a Handle…
-
2
votes2
answers916
viewsA: How to integrate the awesome font in Laravel?
I’ll just tell you what I did in case anyone else got to this point... executed via npm: npm install --save @fortawesome/fontawesome-free Then I went on: Resources/Sass/app.scss And I inserted the…
-
-1
votes2
answers916
viewsQ: How to integrate the awesome font in Laravel?
I’m using the awesome font in Windows along with bootstrap, until then used via Link, both css and js. Today I’m migrating to control via npm, but I install and the icon does not appear. They can…
-
2
votes1
answer79
viewsQ: How do I manage a git for two domains?
I have a website that I’m working on, where we’re now starting to install version control and we’re having a hard time testing the site before sending it to production. We have the following…