Hello your Tips & Tricks is really OT here since it is about jQuery and CSS.
This the Hugo Support Forum. Please stay on topic.
Right I see. You cannot get this to work. First of all this is a Support question not a Tips & Tricks. Also I have changed the title of the topic to reflect the issue in question.
Hugo is agnostic when it comes to CSS and jQuery.
But you need to use proper templates. It’s difficult to say why this doesn’t work without seeing the project in question.
Please have a look at the Requesting Help guidelines.