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
-
3
votes1
answer5269
viewsStylization of div in CSS
I would like to know how it is possible to customize the div to let it "cross" as well as in the image below, where the top-left and the bottom-left of the orange div are kind of cut.…
-
3
votes1
answer250
viewsHow indexing works with searchers using Angular JS
How searchers index displayed content with angular? I researched it and found that apparently Google reads Javascript according to this matter. But that’s really true? I was browsing and look what I…
-
3
votes1
answer151
viewsGulp Task - Compile Stylus for CSS
After a lot of fighting, I started making the page of my portfolio. I took the opportunity to use a few things I was learning, among them the Gulp and Stylus. For the construction of CSS I am using…
-
3
votes0
answers192
viewsHow do I control tabs open by my software with Javascript and localStorage?
My question is how to do a tabbed control, open from browsing my software, with Javascript and localStorage? For several reasons that do not come to the case my web software works with the opening…
-
3
votes2
answers320
viewsWhat is the difference between a plugin and a Javascript library?
I have recently studied a lot front-end in the vast world that is web programming and by installing some new functionality on the sites I developed I realized that some authors called their project…
-
3
votes1
answer1225
viewsWidth of <option> inside <select>
I own a <select> where the texts that are in <option> are very large. By expanding the <select> on the screen the options come out of it. I need a solution for the whole text to…
-
3
votes1
answer2243
viewsFamous error: Conversion error when setting the value XXX to 'null Converter'
Good afternoon. I’m having the famous error "Conversion error when setting the value XXX to 'null Converter'." I’ve seen several topics here and in other forums, Showcase of the first faces and I…
-
3
votes3
answers7189
views"import" header and footer on all pages
I am making some html/css/javascript pages and all will have the same header and footer, I would like to know how to make the import without repeating all the code. Java server. But you can do it in…
-
3
votes1
answer508
viewsHow to show "loading" screen
Good afternoon, I am beginner in the angular and I have the following doubt: It is possible to have a selector accessible in all my components? I bring my component as follows: import {…
-
3
votes2
answers123
viewsFilter example in Angular 1
I’m trying to apply a filter with angle 1 But I’m only getting one field. How can I make a filter that can search for more fields? In my case will have a filter with 5 types of fields.
-
3
votes1
answer599
viewsFlexbox + CSS GRID
People would like to know if there is any possibility of using Cssgrid with Flexbox. display:grid; display:flex; I mean using both in the same project, if not, which one would you recommend me to…
-
3
votes2
answers269
viewsLength of jQuery does not update with the append, how to resolve?
I am working on a script that makes it load more records from the database when the user arrives at the end of the page scrolling. PHP/SQL is right, the problem is that jQuery does not correctly…
-
3
votes1
answer55
viewsThere is performance difference using ngIf directly on a component
Hello, Could someone tell me if there is a difference in performance in the code snippets below, and if there is, what would be the most performative? Thank you!! <div *ngIf="false">…
-
3
votes1
answer563
viewsHow does the browser read and interpret css?
I’m starting in this world of the Front and I read that the browser reads and interprets the css right-to-left. But how he reads and interprets when there is the cascade of classes, as in this…
-
3
votes3
answers1543
viewsWhy "html, body" and not just "body" to delete the page margins?
When you want to delete the default page margins I always see the following CSS code: html, body{ margin: 0; padding: 0; } Why use html, body just using body which is the body page already solves?…
-
3
votes1
answer438
viewsWhen to perform e2e testing on your application?
I am starting in e2e (end-to-end) testing, specifically in projects Vuejs with Spectron and Nightwatch. This question will not have code, because my doubt in this case is not with them, I am able to…
-
3
votes1
answer65
viewsWhat’s the best way to get responsiveness from @Media
I was reading/researching how to apply responsiveness to websites for any type of platform and found this post done right here on Stack @Media That made me open some doubts: Is the content of the…
-
3
votes1
answer878
viewsPerform function in a div scroll event
I have two Ivs, both have the same id, target1. I need to take two Divs in Javascript and apply a function in the scroll event from div1. This function will be responsible for picking up the value…
-
3
votes2
answers237
viewsHow to increase the top margin of the element
The problem I’m facing is to increase the upper margin between that title "Log in" of div main, I thought with a margin top I could do that, maybe I’m using it wrong, I tried, I tried but I…
-
3
votes3
answers65
viewsvertical menu with select
Could someone give me a north on how to display a vertical menu when the first items select is selected, I’m doing it in a very crude way, as they will notice that I put margin-top to move the…
-
3
votes0
answers98
viewsNowadays.. How far does the front end go?
before marking as duplicate of the following question Difference between client-side and server-side. Let’s look at some facts. The previous question is from 2013 or 4 years ago, long before the…
-
2
votes0
answers198
viewsI’m having trouble with Bower’s installation, how do I fix it?
i am having trouble with the installation of Bower, I had already installed, I even worked on some projects using "yo + Grunt + Bower" however, today when I went to create a new project I got a…
-
2
votes4
answers3635
viewsHow to center a div with variable size and position Absolute?
I have a question that is consuming me a lot of time, next: I need to center the counter of the image below, but it needs to be at the bottom of the screen (with position:absolute) and the div of it…
-
2
votes3
answers369
viewsQuestion about loading modules with requireJS and Angularjs
I’m studying a code from a former employee of the company and he used requireJS + Angularjs. He has created several modules with plenty of services etc, but my question is: when using a service or a…
-
2
votes1
answer118
viewsHow to navigate a website if a single page?
I want to make one of those one-page websites, but I can’t think of one thing: how can I do that when I click a button it scrolls down the page to the related content? In the menu have to have a…
-
2
votes1
answer43
viewsAngularjs Routerprovider configuration error
I imported the angular-route.js and made the following configuration : <script type="text/javascript"> angular.module("layoutxepa",["ngRoute"]); angular.module("layoutxepa").config(function…
-
2
votes1
answer2228
viewsHow to organize the HTML body on the screen with CSS
I made a header and a retractable side menu, but I can not now organize the body of the site next to the menu, it is always down and if I give float left and right it is occupying 10% of the screen…
-
2
votes1
answer306
viewsHow to create subcategories with Javascript
I have that list: <li> <a href="" class="category-subtree-expandable">Vestuário</a> <ul> <li> <a href="" class="category-subtree-expandable">Feminino</a>…
-
2
votes1
answer1127
viewsHow to reuse HTML menus on other pages
I am new to the front-end and I would like to know how I can write once the menu and reuse in other pages? I’ve read some posts but could not implement in my code. Example; I have a menu of the main…
-
2
votes4
answers3072
viewsHow to leave a height-height fixed on the page?
What to make the page occupy 100% of the viewport, that it does not have scrollbar. Whether on a small, medium, large phone, tablet and desktop. The height (height) has to be fixed, occupying the…
-
2
votes2
answers6280
viewsHow to leave a div and an image over a Carousel?
I want to run a paddle and over it, a div and the logo, to give that effect of being superimposed. Try to do like this EXAMPLE, but without success. When I add such properties (absolute e relative)…
-
2
votes0
answers41
viewsRelative and Absolute Measures
In which cases should I use each type of measure? Considering that today should develop always focused on the responsive, how to decide which type I will use? Ex.: rem, em, ch, px, %...
-
2
votes2
answers522
viewsThe script loads before ng-view has loaded (Angularjs)
I’m having trouble with the following situation: I have a ng-view on my page, but I need two scripts I implement at the bottom of the page hold on my ng-view load for them to interact with the…
-
2
votes1
answer117
viewsDifficulty Making a Different Shape
div { width: 280px; height: 280px; background: #1e90ff; -webkit-clip-path: polygon(15% 0, 100% 0%, 100% 29%, 41% 49%); clip-path: polygon(15% 0, 100% 0%, 100% 29%, 41% 49%); }…
-
2
votes2
answers564
viewsWhat are the differences between jQuery and jQuery Mobile?
I was reading today about the jQuery Mobile framework and from what I understood it would be for jQuery as Bootstrap is for CSS. I don’t know if I understand it correctly, but it’s doubtful: jQuery…
-
2
votes2
answers619
viewsWhat is the correct way to use an npm-installed package?
To explain my question I will use jquery as an example. I installed jquery from npm (npm install jquery). Then npm created the jquery dist node_modules folder where the jquery file I need is…
-
2
votes1
answer1824
viewsVuejs Graphics Creation Library?
I’m in need of graphics generation, and I’m using the Vuejs framework, along with Quasar. I wonder if anyone knows or knows any library so I can generate these graphics; I’ve seen some, but the…
-
2
votes1
answer941
viewsChange page content when clicking on link in Vuejs
I have an email application and I have a side menu with all the mailboxes that will be available to the user. Here’s a screenshot: What I want to do is: Each time I select (click) an item from that…
-
2
votes2
answers80
viewsHow to fit all content on the screen? Edge at the bottom of the page does not appear in the viewer or browser
I’m trying to create a fully responsive layout**, and I have problems with the end of the div border. I purposely put a red border around the div, in case something goes wrong I identify…
front-endasked 7 years, 9 months ago Paulo Sérgio Duff 1,201 -
2
votes1
answer1069
viewsOpen dropdown over the div
Hello, I have a dropdown made with ui-select, which does not open above the rest of the site. as you can see it opens only up to the limit of the div I’ve tried the examples I found on websites.…
-
2
votes3
answers1704
viewsOutline image with CSS text
I am developing a website but without using any framework to this end;I would like to point out that I have only started in the studies of front, and that CSS is totally new to me. I’m trying to fix…
-
2
votes2
answers95
views -
2
votes0
answers34
viewsWhy are there inconsistencies on my responsive page on screens with the same resolution?
I’m developing a responsive Landing Page. The page behaves as follows: Larger than 1920px (Has the same root Styling, but center the page to the center); 1920px(root) Full Styled; 1800px Adjusted;…
-
2
votes0
answers92
viewsIs it correct to mix PHP code with HTML?
I am restarting my studies in the area of IT and I have this doubt. In the course I’m doing the examples show the php code mixed and inserted into the html code. Is that really how it works in…
-
2
votes1
answer33
viewsPrint with setInterval in the same place
I need it when "filling..." is printed by setInterval, whether it’s exactly the same place as the first impression. It turns out it’s going down or forward. There is how to do this, print several…
-
2
votes2
answers113
viewsHow to use before in CSS?
The image below shows my expected result. In fact, I would like every time I instantiate the tags H1, H2, H3 in html, to come up with this outline below the title. I was researching something…
-
2
votes1
answer1284
viewsShow the number of rows and columns Javascript
I want the user to enter the row and column quantity of a table and present the respective values entered in the table. But typing the number of rows and columns at the prompt does not display the…
-
2
votes1
answer554
viewsHow to make a footer (footer) stay fixed after the Parallax effect?
I have this image and I would like to have an effect equal to option 3 (three) of this image, follows: DETAIL: could be option 2 (two) only I do not want the footer to pass to the area of the screen…
css twitter-bootstrap front-end layout backgroundasked 6 years, 6 months ago Rafael Souza Calearo 191 -
2
votes2
answers490
viewsHow to use anchor in Angularjs?
I am starting to work with Angularjs and I have the following situation I have a href that redirects to a div inside the page itself by the id of the div: <a href="#teste"></a> <div…
-
2
votes2
answers895
viewsSort by date how much they are of the string type
i am developing an application in Engineering which receives the following object from an API: pessoas = [ { nome: 'Lucas', data: '2010-Fev-04'}, { nome: 'Felipe', data: '1994-Dec-10'}, { nome:…