glissario / bootcamp-schedule

bootcamp progress
0 stars 0 forks source link

First JavaScript Web App: Disable Save Button #72

Closed codingbootcampseu closed 3 years ago

codingbootcampseu commented 3 years ago

Hints Disabled needs no value so you can use it with an empty string

// Set disabled attribute
saveButton.setAttribute("disabled", "");

// Remove disabled attribute
saveButton.removeAttribute("disabled");

Example Solution and Comparison

glissario commented 3 years ago

done