Skip to content

Instantly share code, notes, and snippets.

Avatar
🐶
nOOb

Abhi Raj slim-python

🐶
nOOb
View GitHub Profile
View QuoteOfTheDay.html
<script>
new Vue({
el: '#app',
data: {
info: 'null',
author: 'null'
},
methods: {
},
View QuoteOfTheDay.css
<style>
body {
background-color: #111;
}
#app {
font-family: "Montserrat";
text-align: center;
color: #FFF;
@slim-python
slim-python / QuoteOfTheDay.html
Created Aug 20, 2020
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 / var.js
Created Jul 31, 2020
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 / const.js
Created Jul 31, 2020
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 / let.js
Created Jul 31, 2020
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