Skip to content

Instantly share code, notes, and snippets.

View jfo-sagewiz's full-sized avatar

Jerome Formentera Jr. jfo-sagewiz

  • Cebu City, Cebu, Philippines
View GitHub Profile
/* CHAT STYLES */
* {
font-family: Avenir, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji,
Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
letter-spacing: 0.5px;
}
.ce-chat-list {
background-color: rgb(240, 240, 240) !important;
<template>
<p>{{ greeting }} World!</p>
</template>
<script>
export default {
data() {
return {
greeting: 'Hello'
}
@jfo-sagewiz
jfo-sagewiz / codeswing.json
Created April 29, 2021 11:26
html-scss-typescript
{
"scripts": [],
"styles": []
}
{
"scripts": [],
"styles": []
}
@jfo-sagewiz
jfo-sagewiz / index.html
Last active April 29, 2021 20:13
Solution 9 - Intro to Vue
<div class="nav-bar"></div>
<div id="app">
<div class="cart">
<p>Cart({{ cart.length }})</p>
</div>
<product :premium="premium" @add-to-cart="updateCart" @remove-from-cart="removeItem"></product>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
@jfo-sagewiz
jfo-sagewiz / includes.js
Last active April 29, 2021 09:40
javascript array methods
/**
* The array includes() method detect whether the specified element exist in array
* or not. if exists then return true else false.
*/
const array = [ "JS", "Startup" ];
array.includes("Startup");
// true