From a75861d1df17173e9da34b131165ed96302bfeea Mon Sep 17 00:00:00 2001 From: estlop Date: Tue, 28 Jun 2022 11:33:26 +0100 Subject: [PATCH] fix: Change FIFO to LIFO --- subjects/pimp-my-style/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/pimp-my-style/README.md b/subjects/pimp-my-style/README.md index e415945b..e70a492c 100644 --- a/subjects/pimp-my-style/README.md +++ b/subjects/pimp-my-style/README.md @@ -14,7 +14,7 @@ On each click on the page, a function `pimp` is triggered. Write the body of that function so that the button's class is altered: - From the data file provided, add each of the `styles` array elements as classes, in order. -- When the end of the array is reached, remove the classes in a FIFO fashion. +- When the end of the array is reached, remove the classes in a LIFO fashion. - While removing classes, toggle the `unpimp` class on. And toggle it off again while adding classes.