[ANSWERED] responsive nav bar add class to divelement
Solution 1 : this function is for /* Toggle between adding and removing the “responsive” class to topnav when the user clicks on the icon */ else part is for…
[ANSWERED] Issue with flexbox / gap in Bootstrap website under breadcrumbs
Solution 1 : your layout is totaly wrong in your case use this : .row{ align-content: flex-start; } Solution 2 : in .row add: .row { align-content: flex-start; } Problem…
[ANSWERED] Validating a users input and adding a value to it
Solution 1 : You have multiple error, the first one is ID must be unique, the second one you try to use price.value; but price doesn’t exist you need to…
[ANSWERED] media-queries problem buildind portfolio-website
Solution 1 : As it’s working when you decrease the viewport size but not on the browser’s emulator I suspect you are missing the meta tag: <meta name="viewport" content="width=device-width, initial-scale=1">…
[ANSWERED] Create a rectangle with a pointer?
Solution 1 : There’s nothing very magic about SCSS, it just translates some stuff into pure CSS before you run. So, if you run that first codepen and use the…
[ANSWERED] I try to use computed to watch navigator.onLine but not work until I refresh the web?
Solution 1 : Browsers api are not reactive. So whenever their value changes, Vue doesn’t know about it. To listen to navigator.onLine changes, you have to use a native event…
[ANSWERED] How to set a span in JS instead of making a alert
Solution 1 : Browsers parse HTML into a tree of objects called Document Object Model (DOM). Using JavaScript you can query the DOM to get individual nodes, and then change…
[ANSWERED] how to send longitude and latitude to javascript script from def django
Solution 1 : In Django i would write like this {{venue.long}} {{venue.lat}} and in JavaScript it should be like this ['{{venue.long}}','{{venue.lat}}'] Solution 2 : If the problem is the format,…