Did you include
<script></script> tags to make your html file aware of JS? Are you sure there are no problems in your JS code?
Without those details, we can't help you. Please improve the quality of your question
yes. i tried the most basic code but it doesnt work.
which one is it? this one?
i just included