python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
When clicking on my label, would like the url background to show instead of a bg color
var links = [{label: 'Montreal', document.body.style.backgroundImage = "url('https://unsplash.com/photos/qzgN45hseN0')|none|initial|inherit"},
{label: 'Toronto', bg: '#16a085'}...
Anis Belabbas
Votes: 0
Answers: 1
Keep getting error "Conflicting declarations: val open: ImageButton, val open: ImageButton"
I'm still in the proccess of creating my app. I'm trying to make it to where when i click the imabe button it will go to a new activity. each image button has it's on activity.
code*
`
override fun on...
DCam
Votes: 0
Answers: 2
Javascript grabbbing a html5 data- value to use as a var
So I want to customize the src via js with hidden data but just can't figure out the right flow to write it. Looking to grab html5 data- to change the src. Any time I have tried to write it can't get ...
fireart
Votes: 0
Answers: 1
I created a function that generates a random number which is contained inside the variable. I run the code on the console yet I get undefined?
function nextSequence() {
var randomNumber = (Math.floor(Math.random() * 3) + 1);
}
i ran this on the console yet only got undefined i dont know what is wrong with this. any help is appreciated
user17975338
Votes: 0
Answers: 1