Describe the bug
A clear and concise description of what the bug is.
In the script.js file, there is a TypeError: Cannot set properties of null (setting 'innerText')
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See the error in the console
Expected behavior
A clear and concise description of what you expected to happen.
The code should update the innerText of the targeted element without throwing an error.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS, Windows 10, macOS]
Browser [e.g. Chrome, Safari, Firefox]
Version [e.g. 22, 89.0.4389.114]
Smartphone (please complete the following information):
Device: [e.g. iPhone6, Samsung Galaxy S10]
OS: [e.g. iOS 14.4, Android 11]
Browser [e.g. Safari, Chrome]
Version [e.g. 22, 90.0.4430.210]
Additional context
Add any other context about the problem here.
Describe the bug A clear and concise description of what the bug is. In the
script.js
file, there is a TypeError:Cannot set properties of null (setting 'innerText')
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen. The code should update the
innerText
of the targeted element without throwing an error.Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.