Skip to content

Tag: html

Getting all elements on a page and hiding them upon filter

I have something that filters groups of cards on a page that works well, until I try to add section headers to each group. Ideally, I’d like all the section headers to disappear when my “no results” block is displayed. I know that the [0] after the line that gets the class name for the secti…

How to change the element position?

In my browsers Firefox and Chrome I don’t get any errors or warnings. It’s just practice. I’m taking a course in javascript and Dynamic HTML. If anybody cares to look at my code and tell me what I’m doing wrong I’d appreciate it. There’s got to be something that I’m n…

Jquery – Add tags in html with localStorage array value?

This code does not work!! All the code is correct, only the a tag is not added. Why? I want the values ​​to be displayed after refreshing the page Answer Consider the following example. Fiddle: https://jsfiddle.net/Twisty/L876vjmc/46/ HTML JavaScript It can be helpful to setup small functions to help with com…