+ 1
How can I prevent the text in the top navigation bar being squeezed?
Hello, I have a problem here. When you open the sidenav menu you see the topnav links being squeezed. Why is that happening and how do I solve it? Thanks in advance https://code.sololearn.com/WQ383vPhQOMw/?ref=app
7 odpowiedzi
+ 4
body {
width: 100%;
}
+ 2
Use onChange event to detect input changes, with event function to calculate the values and update the other 2 inputs.
+ 1
Oh my, Calviղ it works like magic. Thanks a lot 😂. And by the way can I ask you one thing more?
+ 1
Evans you can ask me any web programming relatedd questions
+ 1
Pls post another question, it's no longer relate to current question now.
0
Ok. What if I had three inputs: voltage, current and resistance and had to calculate one value when two others have been input.
For eg: I enter voltage and current and the value for resistance automatically displays in the resistance input.
0
That's not it. Only update a value when two others are changed. I can accommodate a button too, if needed.