Skip to content

Instantly share code, notes, and snippets.

View iulia-codes's full-sized avatar

Julia iulia-codes

View GitHub Profile
@iulia-codes
iulia-codes / template-literals-1-if-statements.js
Created December 4, 2018 14:38 — forked from wiledal/template-literals-1-if-statements.js
Template Literal Examples: if-statement
/*
Template literals if-statement example
Using a single-line conditional, we can create an if-statements within template literals.
*/
function makeHTML(title) {
return `
${title ? `
This element has a title, and it is "${title}"
` : `
@iulia-codes
iulia-codes / bronto.ts
Last active September 4, 2020 14:59 — forked from kitsonk/bronto.ts
Example Deno Static Server
//hello RheinNeckarJS
import {
green,
cyan,
bold,
yellow,
red
} from "https://deno.land/std/examples/colors.ts"; //<-- update this URL