Questions tagged as 'front-end'

2
answers

How to make a simple and responsive horizontal menu?

Hello. I started studying front-end development recently (practically yesterday) and am having some issues with CSS. I am horrible with the positioning of things, and what makes me furious is that I can do some gambiarras to leave the element...
asked by 28.05.2016 / 09:20
1
answer

Put words in capital letters

I have an input and I would like that when the user types in the letters they are getting in a capital letter because of the javascript effect. Without the form I can, but when I put the form does not work. ' <ui:define name="content">...
asked by 12.03.2016 / 19:35
1
answer

change classes with angularjs

I need to change the style of an element when it is clicked and if it clicks it returns to the color it was in (like an "advanced search"). I have the following code: <a href="" class="corCinza" ng-click="exibirForm = !exibirForm">...<...
asked by 27.01.2016 / 21:15
1
answer

Client side image manipulation

A challenge has arisen, I need to know how / what tools can help me create an area that I can manipulate on the client side. I need to develop a website that creates custom shirts, something like vitrinepix , I'm not that good dev front-end but...
asked by 19.12.2015 / 16:07
1
answer

Recover Header from an Http Response with angular

I need to retrieve the Token that comes in the authorization and save it in the localstorage, but I'm not getting it. My login method within my service is: public login(email: string, password: string): Observable<User> {...
asked by 09.12.2018 / 16:19
1
answer

How to get the Header of a response with Angular 2+?

How do I get a Header for a response with Angular 2+? In my case, I'm using version 6. I would like to get this authorization data to be stored in the Browser's LocalSession. I am using the following method to perform the request:...
asked by 22.10.2018 / 15:52
1
answer

Angular 6+: Page update goes to the Login area of the application

I performed the composition of my CanActivate and CanLoad through the class LoggedInGuard. The problem is that whenever I refresh the page, I'm redirected to the Login page, even logged in. Below my LoggedInGuard class @Injectable() export c...
asked by 24.12.2018 / 02:21
1
answer

How to apply hover on all * siblings or * children?

Good evening, this is my first question here in the forum, so sorry if you do not put it in the best way. The problem I am facing is to apply the css: hover effect on all sibling elements or children (may vary). Next, I go through an image, d...
asked by 05.09.2018 / 05:18
0
answers

Ajax Request with header Authorization

I'm trying to make an ajax request but it needs a BASIC authentication, follow my code: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script><script>$(function(){$.post({url:link,contentType...
asked by 03.08.2018 / 16:03
1
answer

Consumption of internet data using Vue.Js or similar

Good morning, I have an application in Vue, where the upper and lateral nav are static, and the content (body) is loaded according to the requests made in the nav links. The Vue greatly accelerates the use, charging only the center, but does thi...
asked by 03.08.2018 / 15:23