Skip to content

Tag: html

Through Toggle button show Div Section?

I am trying to use toggle javascript option. The first view button is active by default (with blue bg) some how. All the hidden div is appearing on the first section is visible. The names should appear when the corresponding button is clicked rather than all appearing by default. The last button is also not w…

How to make correct loop of JSON in React

I’ve got a problem with making a correct loop in React. I want to fetch data from JSON to don’t repeat components. I tried to make two loops and then two maps, but everything was in bad order. The other problem is that “description” is also an array that’s why I’m not able …