I developed a small plugin commonly known as bookmarklet . This result is almost satisfactory for my case, however, there is an empencilho. For me to start it I have to double click otherwise, it does not launch the player on the page. Since...
Given any color in notation Hexadecimal , can you find the same in lighter or darker shades? example ...
div {
height: 50px;
width: 150px;
display: inline-block;
text-align: center;
line-height:...
I'm using this code, but it's not catching. I want to increment with each click on the "Increment" button.
Code:
function incrementar(){
for (let i =0; i<10; i++){
document.getElementById("incrementar2").innerHTML = i;
}...
I took the following function in JavaScript (jQuery):
function CustomAlert() {
this.show = function (nome) {
};
}
var Alert = new CustomAlert();
$(document).ready(function () {...
I have the http://www.algumacoisa.com/d/
I need a code where there is a text box, the user types the link and clicks "go" then it is directed to
http://www.algumacoisa.com/d/HTTP://WWW.LINKDOUSUÁRIO.COM
However, no database.
Is it po...
This is my current Gulpfile and as I am using it a lot, I would like to create a GULP WATCH that would perform uglify whenever the files were changed.
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var pump = require('pump');...
Good night guys, this is the next one, I need to fill the smile of Snowman with red. But I'm not getting it, I do not know if it's because I'm making a mistake in the code or if I'm drawing the wrong smile. The smile I drew with a semi circle...
Hello, guys, I'm a beginner in angular, and I'd like to know what I'm doing wrong here. Look at this: Every time I click a button I want it to add some "modified" information from an object called a match to the betting object. The problem is th...
I have an array with values that vary by page.
I'd like to know how to get the key for a specific value.
Example:
minhaarray = [5,10,15,20,25]
How do I extract the key from the value 15?