This is my take for this challenge. I've used HTML, CSS and JavScript. I used random numbers for the values but i didn't managed to link the button. Any suggestions for this or anything else are welcome. Also i used media query for the mobile version using a mobile-first approach.
Jurdel Gallano
@secretcrew2All comments
- @dariuss1123Submitted over 1 year ago@secretcrew2Posted over 1 year ago
One way to link your button to javascript is to add an attribute of onclick = function{} on your button.
Example:
<button onclick="someFunction()"></button>
Happy coding ☺️
1 - @TomieaSubmitted over 1 year ago
For some reasons, the image refused to show from Github pages. What could be the cause?
@secretcrew2Posted over 1 year agoLook at your repository, there is no image file. Either you simply upload the file in github. My recommendation is you try learn git.
Marked as helpful0 - @ebrljakSubmitted over 1 year ago@secretcrew2Posted over 1 year ago
Great job on completing this challenge!
One recommendation I have is to use a max-width:800px instead of width: 100% for the container. Additionally, for the body, it's better to add padding instead of margin so it will looks good on mobile devices.
Marked as helpful0