Most voted "front-end" questions
In software projects, front-end is the part of the software system that interacts directly with the user. If the question is not about "front-end", do not use this tag, even if you are using "front-end" in your project.
Learn more…498 questions
Sort by count of
-
23
votes3
answers4443
viewsWhat are the main differences between Angular, React and Vue.js?
On a project SPA which will soon be used also in a mobile app, I need to know the main differences to decide which one framework should I specialize.
-
13
votes1
answer9507
viewsWhat is -Webkit-Transform? What is it for?
So, direct I find in Csss this -Webkit-Transform, but I have no idea what it is or what it’s for and God also does not know answer me: I would be eternally grateful if someone could explain me or…
-
13
votes3
answers10018
viewsSASS and SCSS: Why use them instead of conventional CSS?
I hear a lot about SASS and SCSS, but I don’t know exactly how these tools work. I just know they are CSS generators(?). I found a related question here but it doesn’t address the question of why…
-
12
votes2
answers1331
viewsWhat is the difference between Animation and Transition CSS
What is the difference between the properties animation: and transition: of the CSS?
-
11
votes2
answers811
viewsHTML5 form validation
I am making a validation form using HTML5 and its own tags to validate the fields. I am using the PATTERN, that limits the character type. But it doesn’t work... Fields are not being locked. "Code",…
-
11
votes2
answers1626
viewsHow to use and what is the user-select property for
I’m learning front-end and came across on that website with a CSS property called user-select, I didn’t understand what it was for and I couldn’t find a good explanation. I’d like you to explain to…
-
10
votes1
answer541
viewsHow to install the dependencies of a Durandal project using Mimosa?
Let me explain the question. I would know the answer if the question were: "Como instalar as dependências de um projeto Laravel usando Composer?" In the world of PHP, using Composer, we can create a…
-
9
votes1
answer164
viewsHow Google Analytics Works
How can Google Analytics verify the origin of the click? How the API knows the keywords that originated the Google search (which reached the site)? Those doubts have haunted me for years. If anyone…
-
9
votes1
answer1307
viewsWhat is the advantage of front-end frameworks like React?
I was talking to some friends and in the conversation they told me that frameworks like React would be mandatory for front end programming nowadays. I wanted to know your opinion on this, on why to…
-
9
votes1
answer390
viewsWhat is the difference between Local Storage, Indexeddb and Websql?
I have a habit of using Local Storage to store JWT, I would like to know the difference between Local Storage, Indexeddb and Websql and when to use one or the other.
-
8
votes1
answer14926
viewsPointed Buttons and Text Balloons
I would like to know some alternatives to use some button'custom s and also the famous text balloon. Currently I use a <div id="container-button"></div> that inside has the <span…
-
8
votes3
answers524
viewsWhat is Front-end and Back-end?
I’m starting to study WEB and I still lack much knowledge, and early on I came across the terms that are highly used in this world of development WEB, who are Front-end and Back-end, I have read…
-
8
votes1
answer324
viewsCSS reset is always the same?
Is CSS Reset always the same, or are there others who maintain the same pattern but have more specific features? It is a rule that all CSS Reset be equal, that is, if I create mine with what is…
-
7
votes3
answers2143
viewsHow to let Divs self-adjusting vertically?
I’m having trouble trying to leave some divs self adjustable vertically. There is the space needed for the div stay exactly below the one above it, but it does not rise, there is an empty space…
-
7
votes1
answer308
viewsDeploy with GIT x Deploy with Gulp
I still can’t figure out which is the best deploy on a site. I explain how I’m doing: GIT I started a local repository I hosted my repository on some service like Github/Bitbucket I hacked into the…
-
7
votes1
answer3054
viewsBower - What is, what is its utility and how to use it?
In project files and mostly front-end frameworks I’ve seen much, much even the file Bower.json and I believe he’s a file like composer.json, package.json, Gruntfile.js, README.md, so I’d like to…
-
7
votes4
answers6154
viewsHow to get session cookie via javascript?
I need to make a script that when the user arrives at my utm via url, I must record a session cookie. This cookie will expire when the browser closes. Can anyone help me with this?
-
7
votes1
answer1265
viewsWhat is "Prop Drilling"?
I believe the term is related to passing properties between various components, but I don’t understand exactly. What is "Prop Drilling"? How to avoid it? It is a common practice?
-
6
votes1
answer4503
viewsStructure of MVC Folders
Hello. I am wanting to build my own application using the MVC standard. I understand the separation of each item(Model, View and Controller). But I want to make some sort of separation between the…
-
6
votes1
answer45
views -
6
votes2
answers120
viewsDivision greater than R$999.00 results in Nan. How to format correctly
Division less than R$999.00 works correctly. However, more than R$999.00 results in Nan. How to revolve this? I’ve already put a replace and nothing! $(document).ready(function() { var demo1 =…
-
5
votes1
answer2656
viewsWhat is the appropriate folder architecture to apply to a web project?
My project boils down to PHP pages, with folder for images, css, js and fonts. I’ve seen that some developers use a folder for project development and another folder for production. I would like to…
-
5
votes2
answers356
viewsIs it possible to apply push technology?
I have a system, in which it displays database files, in list form. I do the query in the database every 5 seconds to see if there are new files, and if you have it is shown to the user using AJAX.…
-
5
votes1
answer5113
viewsHow to add HTML dynamic code snippets with Javascript/jQuery
Usually when we want to list data on front-end using the tags of back-end<%= %> or others. The stalemate I’ve come across now was: "How to do this in jQuery?". To explain better, I am…
-
5
votes1
answer537
viewsChrome and background Fixed bug
I have the following problem: I have some sections on the page separate in Ivs. Two of these Ivs get an image like background and background-position:fixed, so when scrolling the page the images…
-
5
votes1
answer224
viewsHow to merge into a file already minified with Grunt-contrib-uglify
Here’s the situation, I’m using the Grunt-contrib-uglify to minify my project’s javascript into a single file, the problem is that one of these files is already minified, and the uglify does not add…
-
5
votes2
answers1163
viewsSecurity Application Angular
I have questions about safety, I will exemplify : In my front, in my controller have that method: $scope.getAllpessoaGrid = function (strPesquisa, tipopessoa) { $scope.progressbar.start();…
-
5
votes2
answers2626
viewsAdjust image inside canvas
I have a page that allows you to insert an image inside the canvas element and works perfectly. Now, what I need is a way to limit the positioning of the image within the canvas, not allowing it to…
-
5
votes2
answers260
viewsHow to view front-end projects?
How to view front-end projects? Semantic versioning brings the following approaches: MAJOR - when you make incompatible API changes MINOR - when you add functionality compatible with previous…
-
5
votes1
answer1030
viewsWhat is the difference between :first-Child and :first-of-type in CSS?
I was writing a line of code and I was ready to type :first-of-type to change a certain element. That’s when I got the doubt: I must use first-of-type or first-child? Since both present the same…
-
5
votes1
answer147
viewsIs it correct to leave the responsibility of freight calculation at the front end?
We all know the agility that certain code written on the front end has and makes our applications faster. It would be correct to calculate a freight at the front end of the application and send this…
-
4
votes1
answer641
views -
4
votes5
answers1744
viewsDifference between back-end and front-end?
Guys, there’s a home page that has 3 filters: (select) Property Type: House or Apartment (select) Business Type: Purchase or Rent (input) City or district The person enters with the 3 search…
-
4
votes2
answers2568
viewsHow to use Materialize with Angular?
I’m developing a project, but even importing all the CDN, the angular and the materialize, the materialize Javascript does not want to work together with the angular, there is some kind of conflict…
-
4
votes3
answers4343
viewsHow to download file without back-end
I want to force the download of a file and I’m trying these two ways. downloading on the same page: var docLocation = window.location.href + 'docs/apresentacao.pdf'; var iframe = $('<iframe…
-
4
votes2
answers461
viewsWhat is the Riot.js?
I was reading about some frameworks and libraries for front-end UI development and came across the Riot.js. Giving a quick read on page of the library (in English), I concluded superficially that…
-
4
votes1
answer869
viewsGallery with category filter
I need to implement the following: category buttons + category gallery I have several categories on my site and an image gallery for each one. On the front, I will create buttons with the categories…
-
4
votes4
answers2052
viewsIs Ecmascript 6 supported by current browsers?
Can Ecmascript 6 features available in Javascript already be used in a way that is supported by current browsers? I wonder if this version is already supported as a whole (and not just specific…
-
4
votes2
answers346
viewsDifferences between Monolith and Monorepo
I have read some articles on Monorepo and still do not understand what would be the difference between Monolito and Monorepo. Would someone explain to me?
front-endasked 4 years, 8 months ago Guilherme Nass 939 -
4
votes0
answers1533
viewsAngular2+ ngx-Mask deleting value in dynamic mask change
I have a document field where the value can be CPF or CNPJ. <label for="cnpj" class="label-control"> <select class="labelSelect" name="tipoDoc" id="tipoDoc" [(ngModel)]="tipoDoc">…
-
3
votes2
answers166
viewsCustomizing the Scroll of a div
As there are many resolutions from several different devices, I’m having a hard time displaying a feed list. Follows an image of how I think best to display such a DIV (list), in view that the page…
-
3
votes1
answer73
viewsDisable page drag on a mobile device
I’m developing a page where we have a <input type="range" min="1" max="10" value="5">. Whenever I have to drag this input, If I miss the finger, I end up unintentionally dragging the full…
-
3
votes1
answer280
viewsUsing SPA (Single page application) and browser back button
Someone who works with SPA knows the best way to work with the back button of the browser? For example, we have a list of users and the detailing of these users through a click. When we are on the…
-
3
votes2
answers2832
viewsURL with string parameters with angular.js
I would like to know how to best treat url with parameters string angular.js. When accessed: www.app.net/nomeDaPessoa/ServicoDaPessoa Would respond to a certain route that is receiving the…
-
3
votes2
answers1467
viewsCenter Horizontally
Can’t seem to center my div in the middle of the page! I tried to use what they posted in that post, in that other post, in the CSS Tricks and on a lot of other sites on google and I can’t center…
-
3
votes2
answers4723
viewsAnchor to another page with scroll to the content
I have a link on a page that will send me to another page, but I need that when the requested page is loaded, make a scroll for the content I want to focus on. If it were on the same page, I would…
-
3
votes1
answer273
viewsMouseover effect td with jquery or css
How to do for when I pass the mouse on top of mine td, show the edit icon on it? Note: My code does not work: jQuery Event: $(".editableSpan").mouseover(function(){ $("#tdEditable").append("<span…
-
3
votes1
answer766
viewsRun function only the first time you open the page
I’m developing an app using the Phonegap, the same uses the front-end to create apps, so I would like to do the following: run a specific function (such as an alert) the first time the application…
-
3
votes1
answer499
viewsForce Javascript File Version Update
I am developing an application in Angular2 and I am facing a problem which is updating the files JS. When I update the version sometimes the browser does not load the new file, it uses the old one.…
-
3
votes1
answer117
viewsMethod ignoring callback function in jQuery plugin
I am developing a plugin in jQuery and the problem or difficulty is: I created the methods init, show and hide; (function( $ ) $.fn.tooltip = function(method, onClick, onBefore, onAfter) { var…