SzabiSch / bootcamp-schedule

0 stars 0 forks source link

First JavaScript Web App: Filter Todos #79

Open codingbootcampseu opened 2 years ago

codingbootcampseu commented 2 years ago

image

Hints

You can use the hidden attribute to show or hide an element.

const el = document.querySelector('li');
el.hidden = true; // element is hidden
el.hidden = false; // element is not hidden

The configuration of radio buttons can be tricky. They need the same name attribute and a dedicated value attribute.

<label for="radio-yes">Yes!</label>
<input type="radio" name="xxx" value="yes" id="radio-yes">
<label for="radio-no">No!</label>
<input type="radio" name="xxx" value="no" id="radio-no">

Example Solution and Comparison