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
-
1
votes1
answer346
viewsLayout break with top menu in different browsers
Guys, I’m having problems in my top menu, as for the size of the black bar that is marking the menu area and the size of each area <li> from my menu. In Google Chrome is all good, then when I…
-
1
votes1
answer673
viewsHow to Integrate Frontend with Java?
I’m a beginner in frontend. I’m making a system using html, bootstrap, javascript and jquery. I’ll have to make the integration with the java. I would like some guidance because I don’t know where…
-
1
votes1
answer61
viewsBackground problems
I’m having trouble filling my background with a specific color, in this case, blue. Follow the code of my application: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
-
1
votes1
answer310
viewsAutomating a function each JS/Jquery
I have a problem automating a function in JS / Jquery. I have the following code: $('.tab-pane').each(function(index, el) { tipo = $(this).attr('id'); $("#owl-carousel-" + tipo).owlCarousel({ loop:…
-
1
votes0
answers77
viewsGood practices with $.get from jquery
I believe it is not recommended to make one $.get within a $.get. But then what would be the best practice for this code below: var valorSalario = getSalarioAtual(location.state);…
-
1
votes3
answers542
viewsWhat do you call that "view change" effect by sliding?
Several apps (Facebook, Twitter, Instagram) make use of a "touch enabled" effect where the user drags the entire screen and it changes the view. Do not confuse with the "slide" effect of the menu. I…
-
1
votes1
answer14054
viewsWeekly planner Rails 5
I need to implement a simple schedule in Rails for daily schedule presentation, I adapted the model and controller to add new schedules with date and time, but the difficulty is in presenting in…
-
1
votes1
answer87
viewsTransforming clicks into JS function
I’m trying to turn my clicks into functions, since the code is repeating itself in https://github.com/rg3915/fs2w/blob/gh-pages/js/main.js This is the original code: $("#div1").click(function() {…
-
1
votes3
answers878
viewsHow to Get JSON Data
Guys I made a list in JSON with the name of lista_json.js and put it in the head HTML, but I’d like to take it from body, codes work on the console but I can’t print on the screen, which I’m doing…
-
1
votes1
answer7832
viewsCaption in CSS and HTML images
I am with a doubt would like to know how I can put a caption in an image within a div , Who can help me thank you , Thank you very much !!!! The information is down : .ar img { position: absolute;…
-
1
votes1
answer271
viewsJSF problem in Logoff method
Good night I have the following problem, I have a JSF application and I need to do a logoff command, I did several and all gave the same result, it "kills" the user’s session (logs in), but does not…
-
1
votes1
answer547
viewsWhy does the "container" class in Bootstrap leave side spaces on the page? Is that normal?
Because the class "container" Does Bootstrap leave side spaces on the page? This is normal or am I forgetting something? I also need to know how to change the height of each Row, because I tried to…
-
1
votes0
answers107
viewsHow to customize Stepper material icons?
Good afternoon. I’m trying to modify the icons that come by default in the design material Stepper but can’t find any workable solution. This edit icon I’m talking about. Is there any way to put a…
-
1
votes2
answers398
viewsDifficulty to remove item from inverted list in Vue
I’m picking up at the time of using list in Vue. I display on the screen a list reversed by a computed. I need to display it upside down so when I add an item it shows up on top. Only the way I did…
-
1
votes3
answers1410
viewsHow to make input mandatory in just a few cases
I am putting together a form in which the customer needs to provide the parent data when he or she is under age. I can do this easily in the backend, but I would like to know if you have how to do…
-
1
votes1
answer131
viewsCSS Grid Layout
I’ve been a while without messing with front-end but now I’m taking a look at CSS Grid Layout. After reading the articles, I was left with a question: Is there any number of standard columns to…
-
1
votes0
answers37
viewsTo what extent should snippets be used?
Are a hand to the wheel, yet I feel guilty for not carrying out the expected manual work. So I want the your opinion to know when and until dot a Front-Ender must use snippets.…
front-endasked 6 years, 9 months ago user54824 -
1
votes1
answer51
viewsgift only updates at the end of the event
Hello, I have a button with a click event, and when I click on it, I make an ajax request in a foreach. I would like to open a loading modal to run while the requirements are being made, but the…
-
1
votes1
answer187
viewsProblem running method to insert new User using ASP.NET MVC with HTML and RAZOR
I have a problem running a request to enter a new user, I do not know what I need to do now to finalize my request, By clicking the sign up button nothing happens below are my HTML code and the…
-
1
votes1
answer410
viewsDisplay saved image in database and allow user to change image
I am retrieving the database information and checking whether the GIF and Image fields are null or not to display to the user the best option in View Edit. Anyway, follow the code where I do this…
-
1
votes1
answer118
viewsHow to mark a radio input when clicking a DIV?
The question is self-explanatory. I have a form with 3 divs, each div has a img and a radio, would like that when clicking on the imgs, the radio that this in the same div of img click be marked.…
-
1
votes1
answer76
viewsAligning two Divs on a Modal
I have a question to align two Divs using Bootstrap. <div class="info-suporte col-sm-8"> <table class="table"> <thead> <tr> <th><div class="foto"…
-
1
votes1
answer869
viewswindow.confirm with custom buttons
How do I get onclick return a window with the 3 options: Yes Not Cancel I need to know how to treat the selected option as well. The link will direct to a code PHP that will treat the ID passed, if…
-
1
votes1
answer134
viewsCannot cast from Object to int JSP
I am developing an application using JSP and servelt in which I want to get the total amount of records from my tb_driver table,created a servelt in which I passed the method that makes the query…
-
1
votes2
answers875
viewsIs it possible to replace the Javascript language with Python in web development?
It is possible to replace the Javascript language with Python, I mean, instead of using Javascript to interact with the user on the web page, there is some way for me to write this interaction in…
-
1
votes3
answers1199
viewsHow to make these radio buttons checkbox style, and change the value of a text depending on the choice?
I need to put in my site as is in this image. I’ve done in HTML and CSS the square with the price. I don’t know much about JS and I’m not getting to make the left squares. By clicking on "No…
-
1
votes2
answers107
viewsI can’t add value in Array
I want to add the name typed at the prompt in an array and displays the names in a table but when adding it displays the null value in the table. var nomes=[]; var indice=[]; var i=1;…
-
1
votes1
answer270
viewsReact build vs (?) Webpack?
I’m taking a React course. I have an understanding of what React is, and what problem it solves. However when I put in CMD "create-React-app x" it shows some other commands that I can use in this…
-
1
votes1
answer100
views -
1
votes1
answer94
viewsInternet data consumption 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. Vue speeds up the use a lot,…
-
1
votes0
answers430
viewsIndentation and line breaking in sql data for html
In short, I created a table with type text in sql so that the user can save some content. However when pulling it back into HTML the formatting is lost. To remedy this I thought of using the tag…
-
1
votes1
answer773
viewsPlace div daughter element ul li occupying 100% of page width
The problem is this: I have a div who is daughter of a li element of a ul that does not start in the corner of the page. There are two subproblems: 1 - I need to be able to expand this div so that…
-
1
votes1
answer221
viewsPut Outline into HTML5 USEMAP
I want to put edge or Outline on the image map in HTML. I tried to use: map area{outline: 1} But it didn’t work!
-
1
votes1
answer1879
viewsAngular 6 CLI command to create a Component in a specific folder
Is there any way to create a Component in Angular 6 CLI by specifying which folder it should be in? I searched the net and found the ng g c nome-componente --module=app but this is just to say that…
-
1
votes1
answer54
viewsWhat is the best practice for cleaning an html?
I am working with javascript for a short time, and I see people commenting whenever innerHTML is a bad practice. I agree that it is not a very beautiful code to write htmls by the js themselves, but…
-
1
votes2
answers2216
viewsproblem with Jquery-Mask
I’m having a problem creating a mask for a field that should receive both a Cpf and a cnpj it works normal as long as the user does not copy and paste the cnpj, when it copies cpnj to the blank…
-
1
votes1
answer36
viewsSort 2 arrays with different sizes in jQuery
I have the following problem, in my scenario I am capturing the Ids of a checkbox, I have a list of JSON objects where I need to compare these Ids with the Ids from the list of JSON objects. The…
-
1
votes1
answer6658
viewsReact - How to modify a state of the parent component from the child?
Let’s say I have a parent component: import React from 'react'; import style from './style.less'; export default class Wrapper extends Component { this.state = { active: false } render() { return (…
-
1
votes1
answer42
viewsQuestion about the map function
I have this object { "alunos": [ { "aluno": { "id": 1, "nome": "Genevieve Sipes", "status": "Ativo" }, "mensalidade": { "status": "Débito" } }, { "aluno": { "id": 2, "nome": "Greyson Herman",…
-
1
votes1
answer66
viewsHow do code to look an if just after you have changed the prop of an object?
I have a form that when I click send leaves red the field that is empty. It makes different validations in each of the fields. Only when all fields are gray border it sends the data via post and…
-
1
votes0
answers70
viewsMask Credit Card with JSF
I would like to mask on the screen the user’s credit card number for this format #######*****####. But when using this Pattern it pushes the numbers to the right and does not replace them. Does…
-
1
votes0
answers44
viewsHow to make a div increase or decrease using the touchmove?
I’m trying to make a div open as the user drags his finger down, and make it close as he drags his finger up. I searched and saw that I can capture the touch of the user on the screen with the touch…
-
1
votes0
answers23
viewsCarousel in Reactjs
Hello, I am starting my journey as a frontend and I would like to know how to make the points in a Carousel can be clicked in addition to letting the images change automatically? OBS1.:(I used the…
-
1
votes2
answers70
viewsThe created element does not take javascript functionality
Uncaught Typeerror: Failed to execute 'appendchild' on 'Node': Parameter 1 is not of type 'Node'. At Htmldivelement.dragover staff do not know why, was doing a project of the Masterclass of…
-
1
votes0
answers28
viewsANGULAR AND ASP.NET together on the front end
I have a question, is it possible to use Asp.net and angular in the front end ?? type one page is in Asp.net and calls another which is in angular ?? Because I am working on a current project where…
-
1
votes1
answer35
viewsProblem with my client using jquery
I have a very unusual and strange problem... I am using the Jquery library, however, it is not being interpreted correctly, the problem is not in the code itself, ie, when I do the code even without…
-
1
votes1
answer69
viewsHow to generate my Postgresql Baseurl (link) that is in Heroku to integrate to my Angular front end?
My question is: how do I link (baseurl) to which my front-end access the data coming from this database (Postgresql) that is hosted on Heroku? My Heroku’s Postgresql releases this information: As…
-
1
votes2
answers215
viewsGet the value of a radio type button with Vanilla Javascript?
How to select a radio button using pure JS and pick the value set by the user? Follow my HTML code: <div class="form-check form-check-inline"> <input class="form-check-input" type="radio"…
-
1
votes1
answer206
viewsSelect only ONE checkbox with vanilla javascript and bootstrap 4
I have the following code that generates the printable form in the image... <div class="form-check form-group" id="areaTermosCondicoes"> <input type="checkbox" id="accept-term"…
-
1
votes3
answers163
viewsClear campo select
I created an Ajax request to fill in a field select when the user clicks on a certain specialty appear only the professionals qualified for the same. However, when clicking on another specialty the…