Radiobutton selection to show/hide group

Hi, I would like help with a code where based a selection on the radiobutton a particular object is shown.
For example :
I have #radiobutton with the following item (value) : red, blue, yellow
on change (or on select ?)
let selection = #radiobutton.value
if selection = yellow
( “#image” ).show()
else ?

Thanks a lot !

Any update on this?

$w.onReady(()=>{
	$w('#myRadioButtonGroupIDhere').onChange((event)=>{
		console.log(event.target.id); 
		let selection = $w('#myRadioButtonGroupIDhere').value
		console.log(selection);
		if(selection ===" yellow") {
			console.log("Your selection is YELLOW");
		}
		else {console.log("Your selection is not YELLOW");}
	});
});