What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-07 23:10:36
tochararray in javascript
// there is not toCharArray() function in javascript .. // if you want to split string into char array .. then do this method.. let name="hello"; let charArray=name.split(''); // this split string into char .. console.log(charArray); // outpu... Add solution -
Html 2021-10-25 03:33:13
jquery add a new html element based on a template with variables
<script id="hidden-template" type="text/x-custom-template"> <tr> <td>Foo</td> <td>Bar</td> <tr> </script> then in javascript: var template = $('#hidden-template'... Add solution -
CSS 2021-10-12 19:40:08
sass if
// How to create an if-else clause in sass // First create a mixin, which is like a function in javaScript // And pass in an optional parameter to the mixin to hold the value // js ==> if, else if, else, while sass is ==> @if, @else if, @else // No... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5