diff --git a/blog.html b/blog.html
index 835f6e8..f5f5a85 100644
--- a/blog.html
+++ b/blog.html
@@ -42,12 +42,15 @@
makeApiCall("https://dummyjson.com/products/1");
//simulateJSErrors
- case1();
- case2();
- case2fail();
- case3();
- case4();
- case5_func1();
+ switch ((Math.floor(Math.random() * 6) + 1)) {
+ case 1:case1();break;
+ case 2:case2();break;
+ case 3:case2fail();break;
+ case 4:case3();break;
+ case 5:case4();break;
+ case 6:case5_func1();break;
+ default:console.log("Invalid number");break;
+ }
}