Skip to content

Instantly share code, notes, and snippets.

Avatar
🐶
nOOb

Abhi Raj slim-python

🐶
nOOb
View GitHub Profile
@slim-python
slim-python / let.js
Created July 31, 2020 18:00
Difference between var, let and const keyword in Javascript
View let.js
if (1 != 2) {
let age = 35;
console.log(age);
//output: 35
}
console.log(age);
//output: ReferenceError: age is not defined
@slim-python
slim-python / const.js
Created July 31, 2020 18:01
Difference between var, let and const keyword in Javascript
View const.js
const password = '123456';
console.log(password);
//output: 123456
const apiKey = 45649465465;
console.log(apiKey);
//output: 45649465465
@slim-python
slim-python / var.js
Created July 31, 2020 18:03
Difference between var, let and const keyword in Javascript
View var.js
var income = 550;
console.log(income);
//output : 550
var income = 560;
console.log(income);
//output : 560
var income = income + 1;
console.log(income);
@slim-python
slim-python / QuoteOfTheDay.html
Created August 20, 2020 18:02
Quote of the Day - Vue Js API integration example
View QuoteOfTheDay.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Vue js CDN -->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<!-- Axios CDN -->
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
@slim-python
slim-python / QuoteOfTheDay.css
Created August 20, 2020 21:09
this is the css part
View QuoteOfTheDay.css
<style>
body {
background-color: #111;
}
#app {
font-family: "Montserrat";
text-align: center;
color: #FFF;
View QuoteOfTheDay.html
<script>
new Vue({
el: '#app',
data: {
info: 'null',
author: 'null'
},
methods: {
},