Create websites with TailwindCSS
Design blocks for your website
Start building the next great SAAS
Alpine & Tailwind UI Library
Plug'n Play Authentication for Laravel
Create website designs with AI
Blog platform for developers
Build a simple static website
21-day program to build a SAAS
Share and store your most common code snippets. Use our snippet explanation generator to use AI to try and explain the code.
defaults write com.apple.finder CreateDesktop true
killall Finder
document.addEventListener("DOMContentLoaded", function(){
//....
});
// This is how to replace the URL
window.location.replace("http://stackoverflow.com");
// This is how to change the URL
window.location.href = "http://stackoverflow.com";
$ git commit -m "Something terribly misguided" # (0: Your Accident)
$ git reset HEAD~ # (1)
[ edit files as necessary ] # (2)
$ git add . # (3)
$ git commit -c ORIG_HEAD # (4)
document.getElementById("demo");
var y = document.getElementsByClassName('foo');
var aNode = y[0];
Route::view('/welcome', 'welcome');
Route::view('/welcome', 'welcome', ['name' => 'Taylor']);
function getMeta(metaName) {
const metas = document.getElementsByTagName('meta');
for (let i = 0; i < metas.length; i++) {
if (metas[i].getAttribute('name') === metaName) {
return metas[i].getAttribute('content');
}
}
return '';
}
console.log(getMeta('video'));
@includeIf('view.name')