Posts by Thiago Verney • 101 points
7 posts
-
0
votes2
answers31527
viewsA: How to round with 2 decimal places in javascript using a specific rule?
You can create a rounding function using Math.floor. The function lets you pass the number of decimal places you want to round. Follow the example below: var arredonda = function(numero,…
-
3
votes3
answers1167
viewsA: How to make language selector
Instead of using the "select" tag, you can use it as a list, it would solve your problem. Look below: <ul> <li><a href="http://redirecionaparabandeira"><img src="imagemBandeira"…
-
2
votes2
answers1327
viewsA: Would it be feasible to save session user data in Sessionstorage?
Techies, I use the localStorage and it works very well. The architecture I use works like this: User authenticates > API returns token > Stores token in localStorage. Each new request has an…
angularjsanswered Thiago Verney 101 -
5
votes2
answers2039
viewsA: What is a hook method?
The "Hook Method" acts as a placeholder within "Template Method". This means that it is a method declared in the base class, but is only defined in the derived classes. Take a closer look at this…
-
0
votes2
answers879
viewsA: Recover Error messages via json in Angular
The problem is because you are passing the parameter 'name' as if it were the name of the form element you want to access in the errorClass function. In fact, you should pass the name of the…
-
0
votes1
answer71
viewsA: Change font-size by @font-face
Unfortunately @font-face only allows you to change the following font attributes: font-family, src, font-stretch (condensing), font-style and font-Weight. If it’s something small, maybe the…
-
0
votes2
answers162
viewsA: Extract Posts from Linkedin Feed
This error is because, when pasting the url into the browser, you made a GET call into the API without passing any authorization token. To perform it, you basically need to register your application…