![javascript - How do I link my html button value with the variables i've created? right now it says logs it as an html object but not by its value - Stack javascript - How do I link my html button value with the variables i've created? right now it says logs it as an html object but not by its value - Stack](https://i.stack.imgur.com/TUegA.png)
javascript - How do I link my html button value with the variables i've created? right now it says logs it as an html object but not by its value - Stack
![JavaScript in Practice: Create dynamic buttons with JavaScript, HTML, and CSS | Learn To Code Together JavaScript in Practice: Create dynamic buttons with JavaScript, HTML, and CSS | Learn To Code Together](https://learntocodetogether.com/wp-content/uploads/2019/04/code-1.png)
JavaScript in Practice: Create dynamic buttons with JavaScript, HTML, and CSS | Learn To Code Together
![An Example of HTML Code. Definition of Document Object Model (DOM) path... | Download Scientific Diagram An Example of HTML Code. Definition of Document Object Model (DOM) path... | Download Scientific Diagram](https://www.researchgate.net/profile/Mitra-Alidoosti-2/publication/341111212/figure/fig4/AS:887076853673997@1588507011682/An-Example-of-HTML-Code-Definition-of-Document-Object-Model-DOM-path-for-an-HTML.jpg)