var helloWorld = "Hello, World!";
console.log(helloWorld.concat(" ", "Welcome to Developer
Tricks!"));
var helloWorld = "Hello, World!";
console.log(helloWorld.concat(" ", "Welcome to Developer
Tricks!"));
My name is Matt, and I created Developer Tricks to store and display all the bits about web development that I find useful. This information is pulled from resources like Stack Overflow, CSS Tricks, YouTube, Medium, etc. and I wanted a solution to store all of the information that I find into one central location. Here it is! Everything I find useful in Web Development (for now). Each and every entry is tested and used by me, and helped me solve some kind of problem. These can be simple, complex or hacky solutions, as long as they work how I want them to! I will continue to add to this list as I come across new tricks in my future projects. Clearly, this is not an exhaustive list. Feel free to contact me on Twitter with any suggestions or additions that you can think of!
<link rel="icon" type="image/png"
href="img/myImage.png"/>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
/* Width */
::-webkit-scrollbar {
width: 1em;
background: black;
}
/* Track */
::-webkit-scrollbar-track {
border-radius: 10px;
background: #eee;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: black;
border-radius: 10px;
transition: background 3s ease-in-out;
}
/* Handle on Hover */
::-webkit-scrollbar-thumb:hover {
background: red;
}
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
1px 1px 0 #000;
@media (max-width: 600px) {
.class {
...
}
}
background: repeating-linear-gradient(#fff, #fff 49.99999%,
#e41c38 50.00001%, #e41c38 100%);
function confirmEnding(str, target) {
// Uses template strings to insert the target variable
let regex = new RegExp(`${target}$`);
return regex.test(str);
}
$(document).ready(function() {
$("#id").click(function(e) {
e.preventDefault();
var section = $(this).attr("href");
$("html, body").animate({
scrollTop: $(section).offset().top
});
});
});
$ git commit --amend -m "New and correct message"
$ git add another/changed/file.txt
$ git commit --amend -m "message"
$ git rm -f --cached client && git add . && git commit -m 'Add
client folder back to git repo' && git push heroku master
$ lsof -i :5000
$ kill -15 <PID>
I am currently interested in web design and development, and lots of new content is on the way! Below you will find some of my other projects. Follow me on Twitter and let me know what you think!