This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function reverser(word){ | |
return word | |
.split("") // split an string into arr | |
.reverse() // reverse and arr completely | |
.join("") // turn and arr of elements to the string | |
} | |
// Call Function | |
const output = reverser("mindivanli"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## .gitignore file Citation following Github accounts | |
## omermindivanli, octocat, facebook and | |
################### | |
## JavaScript Stuffs | |
node_modules | |
dist | |
build | |
/.eslintcache | |
coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
//In Client-Side Redering React, Bootstrap | |
//Navbar not collapsing problem | |
$(function () { | |
var navMain = $('.navbar-collapse'); | |
navMain.on('click', 'a', null, function () { | |
navMain.collapse('hide'); | |
$("html, body").scrollTop({ scrollTop: 0 }, "slow"); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
//Carousel Client Side Auto-Start-Script | |
setInterval(function () { | |
$('.carousel').carousel('next'); | |
}, 2000); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$connection = mysqli_connect('xyz.cwc5z6ca6odo.us-east-1.rds.amazonaws.com', 'username', 'password','databaseName'); | |
?> | |