I did a query to the database ( BD ) which then transforms by means json_encode() to show it in the view blade and the result is this:
[{"monto":"44"},{"monto":"0"},{"monto":"5640"},{"monto":"0"},{"monto":"0"},{"mont...
Hello everyone I have the Error mentioned when I want to store data, I keep in a coordinate arrangement and then when I want to store it, it says Error .
//Declaracion de variables
var coordinates = [];
var valid = 1;
function ad...
I have this little program in JavaFx that goes through the image and shows me all the colors it has, in the table next I show the color code, but I want to show the visible color and not the code and I wanted to know how I could fill each cel...
Greetings community how are you doing? this time I come with a concern about arrays, it turns out that I'm creating an array from an event in a specific cell of a Datatable, I need to click on an ID field that I have in the datatable, all the da...
The fact is that I have this function that creates objects of the Person class and stores them in an array. I create it correctly, the problem I have is that I want to show the value of the object created in an HTML div.
This is the constructor...
I'm doing the seven-and-a-half game in JS, for the moment I'm trying to show on the screen when I press a button a random card and its punctuation, that is, the number one will be worth 1 point, the number 2 2 points, so succesivamente, I need a...
Hello Good evening, I have this code
$total = array();
$months = array(1,2,3,4,5,6,7,8,9,10,11,12);
foreach ($months as $value) {
foreach ($total_clients as $clientes) {
if($value == $clientes->month){
$total[$value...
reviewing one of the freecodecamp algorithms in which we work with javascript I have the following code:
function largestOfFour(arr) {
var largestNumber = [0,0,0,0];
for(var arrayIndex = 0; arrayIndex < arr.length; arrayIndex++) {
for(va...
good to all. I'm trying to implement an idea that may not be possible, since I can not find any information anywhere.
I have an array with several items, my idea is that the strings of those items appear the first word of it in bold and the...