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
-
0
votes1
answer559
viewsVue-router: hide components in page change
I am learning vuejs and now I came across a difficulty in hiding components when show the other routes for example: <template> <div id="app"> <ion-icon name="help-circle-outline"…
-
0
votes1
answer238
viewsHow to use "mock" to perform function only after a while
Hello. I am developing a script that runs when the user arrives at the end of the page scrolling. What I have so far is the following code: $(document).ready(function() { var posicaoAtual =…
-
0
votes2
answers465
viewsHow not to show jQuery UI autocomplete input the HTML of the variable?
I’m using the autocomplete of jQuery. I got him to play HTML, but the HTML is displayed on input. I need to format my search like I did: When I click, however, the result is displayed like this:…
-
0
votes1
answer6059
viewsAngular 2: Please add a @Ngmodule Annotation
I’m having an error asking to add the @Ngmodule annotation. But I believe this ok. follows error: Uncaught Error: Unexpected value 'Http' imported by the module 'AppModule'. Please add a @NgModule…
-
0
votes1
answer656
viewsp:graphicImage does not display image
Guys I’m having trouble displaying an image within my project in a Data Table. Simply the image is blank. The system makes a query in the mysql database of the image directory to know which image…
-
0
votes1
answer26
viewsReturning Array[] with Obsevable
I’m developing an Angular 2 application and in my service I’m returning one Observable<Pessoa[]> but when returning http with my get it runs the following error. Type…
-
0
votes0
answers29
viewsError generate table data
My front does not take the data to list. However the data is entered perfectly. How to solve? <?php require_once 'vendor/autoload.php'; $app = new \Slim\Slim(); $db = new…
-
0
votes1
answer1792
viewsCarousel in the material-ui
How to do the carousel of images in the material-ui? I’m using this library along with React for front-end.
-
0
votes2
answers2793
viewsBack-end and fron-end communication
I am learning Reactjs, I made on the front end a simple screen of registration and I made the back end generating Ips with Nodejs, following this tutorial:…
-
0
votes1
answer805
viewsChange favicon in a Wamp project
I used the following code inside to change the favicon of my project <link rel="shortcut icon" href="img/favicon.ico"/> It worked well on the index, but when entering the same code on the…
-
0
votes1
answer76
viewsReusable elements in the CSS BEM Methodology
I am studying about the BEM methodology (right at the beginning, I assume), and I was in doubt about one aspect of it. I see that it aims to standardize the CSS declaration means of your page…
-
0
votes1
answer143
viewsHow to develop a mouse-following carousel with translate3d
I wonder if you’ve ever seen such a merry-go-round, or if you had to develop such a one as you would? I need to implement it on a website but I’m having a hard time doing the part of the movement…
-
0
votes1
answer965
viewsCall header and footer without mixing php in html
How to not mix PHP in HTML? I have a file header.html - i want that file to be shown on every page of my site. How do I do this without renaming the header.html for header.php and give a: <?php…
-
0
votes2
answers84
viewsError in positioning of Divs
Hello, I’m making an application and I want to create cards using html and css, I’ve been able to create the cards, but I’m not trying to position one next to the other, someone knows how I can do…
-
0
votes1
answer29
viewsdifferent font abandon on the web
Morning all right with you? Next... I downloaded and installed the Abandon font and in photoshop it looks great, then, I launched in html with the command @font-face { font-family: abandon; src:…
-
0
votes1
answer224
viewsHow do I make an angular application work only on a specific browser?
I would like to make my angular application work on a particular browser, and block any other version. Ex: Work only on Google Chrome 75. And if the user tries to access in a Firefox, Edge, or…
-
0
votes0
answers53
viewsProblems loading CSS (Spring MVC)
Good morning person, I reviewed some topics that pointed problem to load css of jsp using spring mvc , but unfortunately I could not locate the solution. I have a jsp (index.jsp) but when I request…
-
0
votes1
answer186
viewsHow to drag an element when dragging the parent element?
I have an ul with several li inside, and each li has a span: html: <ul class="list-group"> <li class="atividade-style list-group-item"> <span class="atividade"> Item1 </span>…
-
0
votes1
answer89
viewsJquery event click after attribute change
I have a little problem here with Jquery, when the button is clicked I need to take the value of the input and replace the attribute 'href' of one and at the same time click on it... I’m not having…
-
0
votes1
answer804
viewsView nodejs data in front-end using express without using front-end framework
I wonder if there is any way to pass data manipulated in the back-end in nodejs to an html file without using front-end framemework. In my researches I found examples using jquery.
-
0
votes1
answer168
viewsBower ENOGIT git is not installed or not in the PATH, how to resolve?
I am developing my first application in which I intend to use the Angularjs framework. To download the front-end dependencies I am using Bower, however when I write the command on CMD for me to do…
-
0
votes1
answer1038
viewsOwl Carousel + Vue.js with dynamic item
Hello, I have a component that initializes a slider with dynamic items coming from the database. However, I have a search box that makes a new request to the database and returns new items to…
-
0
votes0
answers23
viewsSave temporary files in sessionStorage
Hello, I wonder if it is possible to store files in sessionStorage and how I can do it. I tried with JSON.stringfy() and JSON.parse() methods and no success as follows var elemento =…
-
0
votes1
answer99
viewsSending JWT without Framework
What is the best way, in terms of best practices and practicality, to simplify the process of moving a JWT? I know that with Ionic or Angular, after configuring some module for JWT, the application…
-
0
votes1
answer42
viewsHow do I use javascript to send Form data to an email address?
Good morning, I am working on a code that uses a FORM with POST method and I need the data of this FORM when submitted to be forwarded to an email and not to a server. All this using only…
-
0
votes0
answers21
viewslinear-gradient(); and
I’m good with CSS but I still have a question as to background color Linear-gradient only it didn’t stay 100% it keeps repeating depending on the size. body{ background:…
-
0
votes0
answers93
viewsHow to change the color of the mat-label in a mat-form-field
I need to change the color of my mat-label, but when I change by css using the "! Important", I lose the red color when my field is invalid.. how to change the color of my label without losing the…
-
0
votes2
answers2185
viewshow do I change the color of an html element based on its value using angular 1.6.4
I need to change the color of the student status on the page, and wanted to do this using the angled, can someone help me how I do this using the value of the element? HTML: <tbody> <tr…
-
0
votes3
answers1141
viewsHow to call HTML code inside css?
First of all, it is quite possible that there are already topics talking about this. It was not lack of research, I believe only that I did not find the correct keywords. Self-explanatory question.…
-
0
votes1
answer2303
viewsbackground image does not go out in print (using window.print)
I need to print a page that has a background image as background, a Dagua logo. But using window.print() the background does not appear in the image (unless the user marks "background Graphics" on…
-
0
votes1
answer27
viewsSlide made using html and css does not fill the page width
I’m trying to fill the screen with the slides, but I can’t. I’m using gallery.css to create the slides,I tried to modify the css, but the name of the class that is used for the gallery to work, HTML…
-
0
votes1
answer52
viewsObject key is not recognized after using fetch
The console indicates a wrong saying Uncaught Typeerror: Cannot read Property 'name' of Undefined. within the scope of the function in which API access can access name and other keys. the code:…
-
0
votes0
answers70
viewsWhen moving the scroll it makes i++
Good evening, I need to do a function, I managed to make the logic but I’m not able to perform... The logic is as follows... when scrolling the variable that was started with 0 becomes 1, moved…
-
0
votes1
answer137
viewsVertical table Flask template
I’m a beginner in flask and on the front end I have a table that it returns me information from an API, only instead of it throwing information on the table vertically it’s going horizontal, as I do…
-
0
votes1
answer635
viewsTake values from datepicker and use as parameter
I am using Datepicker to set month and year as parameters for my search, for this I want to play them as a warning to be sure that they are being stored in the variable, but I can’t - I believe…
-
0
votes1
answer2915
viewsdirect page with onclick inside a form
Basically what I need is to put a 'back' button inside my form. It has to be inside for aesthetic reasons, the back button would be inline with the send button. I made a short code: <form…
-
0
votes1
answer55
viewsRequest Ajax in Forms
I made an ajax request to send the data from a form to the server, the data is sent and stored perfectly. But when processing the Success creating the condition, should the return of result were the…
-
0
votes0
answers33
viewsAjax does not run on Chrome and IE
The code below does not run on IE and Chrome, error in xhttp.send(), but Mozilla works. What happens? <!DOCTYPE html> <html> <body> <div id="demo"> <h2>The…
-
0
votes1
answer89
viewsHow to place a variable in the middle of the route at the angle
Hello, I am developing a front end that will connect with several equal API’s, but with distinct banks( The Client has the API installed, but this front is for employee access, and for the sake of…
-
0
votes1
answer104
viewsBug in Responsive menu
I am developing a responsive menu where in the mobile version it is called through an icone, however in some occasions when resizing the page a click event ceases to work and the class (below) .…
-
0
votes1
answer602
viewsHow to use Javascript with Bootstrap4?
I’m doing my front end with Bootstrap, I want to use js for events like onclick, for example. If you can’t see the image (short version): <html> <head> <title>AgileHub -…
-
0
votes1
answer48
viewsError form login (front)
I’m making a login and registration screen, but what was supposed to be 2 in 1 ends up separating, is the Sign form up below login. Html <div class="login-box"> <div class="lb-header">…
-
0
votes1
answer41
viewsHelp using setItem and getItem from localStorage
I’m trying to save an answer, but I’m not getting it every time I refresh the previous answer back. Follow what I’m trying to implement: <!DOCTYPE html> <html lang="pt-BR"> <head>…
-
0
votes1
answer51
viewsSpecific positioning doubt in CSS
My João da Silva page, in the Section "Blog" has a white band at the bottom that I can not take out at all. They follow the relevant parts of the script and a print: Print: html: <section…
-
0
votes2
answers86
viewsHow do I use parseFloat in this algorithm?
I created an algorithm that gets a 4-quarter note , which makes an average calculation and shows the result of the approval. For the result of the approval I did as follows . Result of Approval :…
javascript web-application front-end structured-programmingasked 6 years, 3 months ago Antonio Lima 25 -
0
votes0
answers242
viewsError: Cors when integrating nodejs and Angular 6
I have a problem that I need to treat, but I’m not getting any solution so far. I have an application in Nodejs that I developed in #Expressjs and I face some problems related to CORS Browser. In my…
-
0
votes2
answers1557
viewsProblem when integrating Jquery, bootstrap and Popper.Js scripts at angular 6
I have a problem integrating bootstrap.js, Popper.js and jquery.js scripts into my Angular project. I’ve made some attempts, but nothing has solved so far. My scripts are being embedded as follows:…
-
0
votes1
answer127
viewsCSS/SCSS: Generic validation element accompanying input format
I’m having a problem on my style sheet. I have a generic Input as shown below: I put an element to validate my form, the validation this OK, but I’m having problems in alignment, because if I…
-
0
votes1
answer365
viewsError in bootstrap tab-content. Shows stacked elements in tabs toggle
Good afternoon. We are developing a website for a research group of the master’s degree, I am a fellow, of the course of information systems, with little experience in web programming, who can help,…
-
0
votes2
answers453
viewsIs it possible to return a float value with 2 decimal places to end 0?
I am pushing to be fed in Google Analytics and one of the guidelines that the prices are returned as float, so far all well managed to solve using parseFloat(), however, they need two decimals up to…