0
Can you help me with code
8 Answers
+ 1
3 radio inputs can control 3 images
https://sololearn.com/compiler-playground/WXMmMUkrhSiQ/?ref=app
+ 2
Bro thanks
+ 1
Your code is not interactive, you're missing the JavaScript part that makes the buttons work.
+ 1
Chris Coder
I think it's one of those CSS based image sliders, which have no js dependency and controls the state through checkboxes or radio buttons. It may have missed some property linking. I also cannot see where r.png, g.png and b.png are included.
Google "pure CSS image slideshow"
+ 1
3 checkboxes can let you switch 6 images
https://sololearn.com/compiler-playground/W2kCOFXkCSvf/?ref=app
+ 1
Optimized css for checkbox slideshow using classes to eliminate repetitions.
The problem with condition checking to target another specifier is that it can only target one, that's why you have to repeat the condition multiple times for different target specifiers.
Using classes solves that.
https://sololearn.com/compiler-playground/Wn1M6eAtoL5f/?ref=app
+ 1
Optimized css for radio slideshow using classes to eliminate repetitions.
https://sololearn.com/compiler-playground/WM08p4iUB4Vt/?ref=app
0
I can't use Js
Html and CSS only