diff --git a/src/assets/css/main.css b/src/assets/css/main.css
index 21725d2..129a039 100644
--- a/src/assets/css/main.css
+++ b/src/assets/css/main.css
@@ -3,15 +3,14 @@
@import './flowbite-pro-2.css';
@import './flowbite-pro-3.css'; */
-
-body{
+body {
@apply bg-white dark:bg-gray-900 text-gray-900 dark:text-white;
}
-h1{
+h1 {
@apply text-4xl font-bold text-gray-900 dark:text-white;
}
-h2{
+h2 {
@apply text-2xl font-bold text-gray-900 dark:text-white;
-}
\ No newline at end of file
+}
diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css
index bd6213e..b5c61c9 100644
--- a/src/assets/css/tailwind.css
+++ b/src/assets/css/tailwind.css
@@ -1,3 +1,3 @@
@tailwind base;
@tailwind components;
-@tailwind utilities;
\ No newline at end of file
+@tailwind utilities;
diff --git a/src/components/FunctionCode.vue b/src/components/FunctionCode.vue
index 7bf070c..64268f4 100644
--- a/src/components/FunctionCode.vue
+++ b/src/components/FunctionCode.vue
@@ -70,6 +70,8 @@ nextTick(() => hljs.highlightElement(codeHolder.value));
-
+
diff --git a/src/main.js b/src/main.js
index 7888567..5c60a8e 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,12 +1,12 @@
-import './assets/css/main.css'
+import './assets/css/main.css';
import 'flowbite/dist/flowbite.min.js';
-import { createApp } from 'vue'
-import App from './App.vue'
-import router from './router'
+import {createApp} from 'vue';
+import App from './App.vue';
+import router from './router';
-const app = createApp(App)
+const app = createApp(App);
-app.use(router)
+app.use(router);
-app.mount('#app')
+app.mount('#app');
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index c62cca8..c4ad69f 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -1,10 +1,7 @@
-
+
TS-JS functions
-
-
diff --git a/src/views/functions/downloadFile.vue b/src/views/functions/downloadFile.vue
index 7ada42a..defcc38 100644
--- a/src/views/functions/downloadFile.vue
+++ b/src/views/functions/downloadFile.vue
@@ -1,7 +1,8 @@
@@ -10,10 +11,13 @@ const description = 'Function that takes two arguments - filename and content. I
-
+};"
+ />
-
+};"
+ />
-
+downloadFile(myFilename, myText);"
+ />
diff --git a/src/views/functions/getClonedObject.vue b/src/views/functions/getClonedObject.vue
index 990e5b0..9639add 100644
--- a/src/views/functions/getClonedObject.vue
+++ b/src/views/functions/getClonedObject.vue
@@ -1,7 +1,8 @@
@@ -10,11 +11,19 @@ const description = 'It creates a new object or array by cloning the given objec
-
+
-
+
diff --git a/src/views/functions/getElementHeight.vue b/src/views/functions/getElementHeight.vue
index a14cc6c..0f187f8 100644
--- a/src/views/functions/getElementHeight.vue
+++ b/src/views/functions/getElementHeight.vue
@@ -1,7 +1,8 @@
@@ -10,10 +11,13 @@ const description = 'Get the height in pixel of a given query selector.
Pa
-
+};"
+ />
-
+};"
+ />
diff --git a/src/views/functions/getFormData.vue b/src/views/functions/getFormData.vue
index ddfe746..19936a8 100644
--- a/src/views/functions/getFormData.vue
+++ b/src/views/functions/getFormData.vue
@@ -10,25 +10,33 @@ const description = 'Return an object from a submitted form data.';
-
-
-
+
+
+};"
+ />
diff --git a/src/views/functions/ifNaN.vue b/src/views/functions/ifNaN.vue
index ea6ff6f..b079577 100644
--- a/src/views/functions/ifNaN.vue
+++ b/src/views/functions/ifNaN.vue
@@ -1,7 +1,8 @@
@@ -10,20 +11,32 @@ const description = 'Function that takes two arguments - number and defaultRet.
-
+
-
+
-
+const result3 = ifNaN(myNaN, 10); // returns 10"
+ />
diff --git a/src/views/functions/makeId.vue b/src/views/functions/makeId.vue
index fea9127..bbf9ee1 100644
--- a/src/views/functions/makeId.vue
+++ b/src/views/functions/makeId.vue
@@ -10,10 +10,13 @@ const description = 'Generate and return a random string of a given length.';
-
+};"
+ />
-
+};"
+ />
diff --git a/src/views/functions/padLeft.vue b/src/views/functions/padLeft.vue
index 67cfb17..6381bef 100644
--- a/src/views/functions/padLeft.vue
+++ b/src/views/functions/padLeft.vue
@@ -10,19 +10,27 @@ const description = 'Left pad a string to a certain length with another string.'
-
+};"
+ />
-
+};"
+ />
diff --git a/src/views/functions/stripTags.vue b/src/views/functions/stripTags.vue
index fbb4be5..d5a4b11 100644
--- a/src/views/functions/stripTags.vue
+++ b/src/views/functions/stripTags.vue
@@ -1,7 +1,8 @@
@@ -10,29 +11,41 @@ const description = 'Function that takes one argument - html. It creates a new &
-
-
-
+
+
+};"
+ />
-
+const strippedText = stripTags(myHtml); // returns 'This is some sample HTML text.'"
+ />
diff --git a/src/views/functions/ucfirst.vue b/src/views/functions/ucfirst.vue
index 1397627..440bb8c 100644
--- a/src/views/functions/ucfirst.vue
+++ b/src/views/functions/ucfirst.vue
@@ -10,11 +10,19 @@ const description = 'Capitalize the first letter of a string.';
-
+
-
+