Posts by Thi100 • 391 points
29 posts
-
1
votes2
answers67
viewsQ: Unlock button when hidden section appears
I am developing an interactive infographic in which the person will have to go clicking on certain buttons to open the content related to this button, so far so good, but I wanted the person to…
-
-2
votes2
answers264
viewsQ: Quiz that changes section depending on the answer
I’m developing a quiz with javascript, which has to work as follows, has the question and response feedback, but then I go to another section where there’s a story and only then comes another…
-
0
votes1
answer50
viewsQ: Different audio on each slide of the bootstrap carousel
I’m developing an application with bootstrap and I’m using its carousel, but this carousel has text and will have different audio on each slide, but I don’t want to click on each indicator and…
-
-1
votes2
answers65
viewsQ: Button appear only after you see all carousel slides
I am developing an interaction that the person can only advance when he sees all the slides of a carousel, but my code only works when the person clicks on 1 indicator of the carousel and not at…
-
1
votes5
answers431
viewsQ: Go to certain link depending on the page
I’m developing a quiz with several themes, but it’s time to put it to a certain page depending on which page the person is on. I thought I’d use the if but he always goes for the last if, I’ll put…
-
1
votes1
answer1507
viewsQ: How to simulate a search (CTRL+F)?
The scenario is this, I have a search field on a simple page with no database, and I need that when I write a word in this field an HTML search is done similar to what happens if I do a search with…
-
7
votes2
answers136
viewsQ: Improve code jQuery
I made a simple code for a button to open a sidebar, but I find this code repetitive, I wonder how I can improve it. $('.openbtn').click(function(event) { event.preventDefault();…
-
-2
votes1
answer45
viewsQ: media querie scss
I’m learning Sass and I’m doing the grid based on the bootstrap, with different classes for each screen width size, but I don’t understand how it does it in Sass in a smaller way, I don’t want it to…
-
0
votes1
answer49
viewsQ: Improving Drag and Drop Code
People want to improve the code of a drag drop, follow the code <img src="image.png" class="card01"> <img src="image.png" class="card02"> <div class="bloco01"></div> <div…
-
1
votes1
answer106
viewsQ: Button to play audio dynamically
I am developing a button to play audio in certain parts for my site, for example to have the narration of certain paragraph, I want to do this dynamically, for example by placing certain class and a…
-
1
votes1
answer52
viewsQ: Feedback on a drag drop
I made a drag-n-drop with the jQuery, but I want that when the person fills in all appear a feedback, someone has some idea of how to do this, follow an example of my code <img src="image.png"…
-
2
votes1
answer120
viewsQ: Audio only start when I reach a certain div
I’m developing a page that only has audio in certain texts. I want to make sure that the audio of the text only starts playing when I get to the text. It follows more or less as I wanted. (I don’t…
-
2
votes1
answer1795
viewsQ: Questions and answers javascript
I’m developing a quiz with questions and answers, I’ve done using input radio and checkbox, now I have to make some with input text. I found a code on the Internet that does what I want but I found…
-
0
votes4
answers1217
viewsQ: Multiple choice question
I have to develop a quiz with javascript, the first part already developed that are to get the answer of questions with only 1 correct answer, but I’m not able to do the second part that are the…
-
0
votes1
answer1055
viewsQ: Alphabetizing an object array
I have an array of objects and want to put in alphabetical order but I’m not getting by javascript, I’ll put as the array is structured and the code to call on the page var json = [ { "ID":"1",…
-
0
votes2
answers54
viewsQ: Picking up data json
I created a json with the data from a journal that I maintain, only now I have to create a separate entry by the proper category, by author, and the other fields, I was able to get the general data,…
-
2
votes1
answer138
viewsQ: Print json data list
I need to take the data of a json file and with this data generate a list corresponding to the category it belongs to for example if it is of the technology category need to generate a list of all…
-
2
votes3
answers37
viewsQ: Improving jquery code
I have a code in jquery that does the following, it creates a class after Hover, until then it is working normally, but as I will have to replicate this action elsewhere but will change the css…
-
-1
votes1
answer51
viewsQ: PHP if elseif conditions
I’m developing a php application and want to determine if a certain word will receive the letter "a" or the letter "o". I was doing with if and elseif, but I don’t know why it’s not working. I will…
-
0
votes1
answer56
viewsQ: Levels of access Wordpress
I am creating a system in which I will have access levels, my question is on how to put so that in project x , such user has access and in project y ,another user has access. Some tip or function to…
-
-2
votes1
answer53
viewsQ: Login Page Wordpress
I’m trying to create a login page without being that of wp-admin, I want to create a custom,and I can’t use plugin, some tip or example of how to do this?
-
1
votes1
answer594
viewsQ: Email phpmailer
I’m creating a form that when filled sends a confirmation email, so far so good, but I wanted him to also send an email to me with the data filled in the form, follows below my code /* Recuperar os…
-
1
votes1
answer51
viewsQ: Validating the form field
I’m creating a simple form, in which I have to make a calculation of two fields to appear a message, until then no problem, but since there are several fields that I will have to apply the same…
-
0
votes2
answers42
viewsQ: Input value of a form
I’m developing a form with javascript/jquery in which from one question to another goes to another page and on the last page I have to see all the data typed in the previous questions, already tried…
-
1
votes0
answers55
viewsQ: Javascript form
I’m creating a form and I’ve turned the values typed into objects to save into a cookie, but I’m not able to take from the second value of that object, I’d like to take all the values, follow the…
javascriptasked Thi100 391 -
1
votes1
answer296
viewsQ: Add and remove select with button
I am developing a form in which I have a select that chooses states and capitals of brazil, but as those who fill can add more than one select I need to make a button add another select, is that in…
-
0
votes2
answers8087
viewsQ: Consuming API with javascript/jquery
I have to consume an IBGE javascript/jquery api Click here, but I don’t know how to make the filled input data join with the link https://servicodados.ibge.gov.br/api/v1/pesquisas/{researches}. Down…
-
0
votes1
answer1701
viewsQ: Javascript dynamic form
I have a project where the form has to be dynamic, for example when filling name and age appears other fields like the address and so on, I would like some tip on how to do this with…
-
1
votes1
answer549
viewsQ: Change the color of the <Progress> element
I’m trying to change the color of the progress bar, <progress> by css?