+ 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

21st Apr 2020, 11:40 AM
Evans
Evans - avatar
7 odpowiedzi
+ 4
body { width: 100%; }
21st Apr 2020, 1:12 PM
Calviղ
Calviղ - avatar
+ 2
Use onChange event to detect input changes, with event function to calculate the values and update the other 2 inputs.
22nd Apr 2020, 7:57 AM
Calviղ
Calviղ - avatar
+ 1
Oh my, Calviղ it works like magic. Thanks a lot 😂. And by the way can I ask you one thing more?
21st Apr 2020, 3:32 PM
Evans
Evans - avatar
+ 1
Evans you can ask me any web programming relatedd questions
22nd Apr 2020, 2:35 AM
Calviղ
Calviղ - avatar
+ 1
Pls post another question, it's no longer relate to current question now.
22nd Apr 2020, 11:57 AM
Calviղ
Calviղ - avatar
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.
22nd Apr 2020, 7:07 AM
Evans
Evans - avatar
0
That's not it. Only update a value when two others are changed. I can accommodate a button too, if needed.
22nd Apr 2020, 10:57 AM
Evans
Evans - avatar