E
E
Eric Grizzzzlie2018-04-06 18:00:48
css
Eric Grizzzzlie, 2018-04-06 18:00:48

How to replace some blocks when clicking on a link?

there are four links:
1) top clothing 2) shoes) 3) pants 4) hat
and 5ac78b553c35f818434630.png
when you click on clothing on shoes let's say clothing is replaced with shoes, etc.
I know a way to stupidly create 4 .html, but I think it’s possible with js, I’m still a noob in js.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2018-04-06
@Grizzzzlie

If there are not many products and it is possible to load everything on the pages at once, then
https://isotope.metafizzy.co/

Z
zhyshy, 2018-04-06
@zhyshy

If you are doing it on bootstrap, then you can use tabs for this
https://getbootstrap.com/docs/4.0/components/navs/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question