Watch out with async/await. You need to use try/catch or you're screwed if any errors happen.
Does anyone know how the npm command view works? Like npm view gulp? Cuse I used it and it said one version, but I manually checked the package's package.json and it said something else
Hi guys, anyone good with JS?
@Argestis I was about to get off but I might be able to help, whats up?
@brad what this would do? $(".counter .something ").data("example"); where .counter is the parent div of .something
from what div would jquery get data "example"?
@bradtaniguchi whoops i called the wrong brad xD
@Argestis All is good, this is more of a Jquery question that JS, but regardless. The double class selector works the same as CSS selectors, so if you have 2 child div with class something, then it would return both
I gotta hit the hay, need to wake up early and its super late XD, if you have any more questions you can always mention me and Ill reply tomorrrow, otherwise someone else might help ya out :)
@bradtaniguchi thanks, man! have a good one.
argestis sends brownie points to @bradtaniguchi :sparkles: :thumbsup: :sparkles:
Just wrap the items in a container div, and have the button element after the image
if it sets next to it, just use display: block, or clear: both
@zootechdrum looks like you set the button styling as clear: "left" when it should just be something like clear: left
Hey guys, I'm working on the freeCodeCamp weather app. Having some issues getting the latitude and longitude with the navigator object. It takes sooo long. I set up a timer in the app and it takes more than a minute to get the coordinates. Was wondering if you guys get the same if you try it? Link to it: https://codepen.io/dennismagnusson/pen/EEOaZy?editors=0010
I can't figure out why it takes so long... should be pretty quick, right? I need help if someone can help
magnden sends brownie points to @syncthetic :sparkles: :thumbsup: :sparkles:
even if i type $('.dropdown-menu li:selected').val(); i get the same result
@fez994 I don't know that <a> has a val() property, I think that is reserved for input elements
var g = $(this).attr("value"); this will get the attribute by name