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
@sjames1958gm I don't even know what is Babel, but I'll take a look.
@krckyboy I think the babel is only allowing ES6 in this pen. translating from ES6 to ES5
THe key is the data-content attribute, I believe
@sjames1958gm I'm looking at CSS attr(data-content), I guess that's the main part in CSS.
@krckyboy yeah I think so. it is saying that the content is coming from the data-content attribute of the element
I see how it could work, but now I need to figure out how to deal with :hover.. Basically, when I hover over an element, it needs to have the icon that would appear if I was to make the element "active" (the icon that toggles on and off each click).