Latest solutions
Interactive Comments | HTML, CSS, SCSS, Bootstrap, JavaScript, JSON
#sass/scssSubmitted almost 3 years agoAdvice Generator API — HTML, CSS, SCSS/SASS, Bootstrap JavaScript, API
#sass/scss#bootstrapSubmitted almost 3 years agoExpenses Chart Component | HTML, CSS, SASS/SCSS, JavaScript, JSON
#sass/scssSubmitted almost 3 years ago
Latest comments
- @BernardoHollmann@halibal
As an alternative you can use "dataset" for storing values inside the the selected element. When you loop inside all your buttons, you can use "rating.dataset.(the name you used while assigning to the data)"
i.e: <button data-value="1">First Button</button> console.log(document.querySelector("button").dataset.value) -> prints // 1
Marked as helpful - @halibal@halibal
Page content created with JavaScript file and apparently frontendmentor screenshots doesn't take it into account. This is the second time seeing this issue.
- @halibal@halibal
The chart components added with using JavaScript, so it is strange not showing up on design comparison page :) Check out the live site to see how it actually looks..