This is the code you need to align images to the left:
{ | |
"auth": { | |
"plugins": { | |
"awsCognitoAuthPlugin": { | |
"CredentialsProvider": { | |
"CognitoIdentity": { | |
"Default": { | |
"PoolId": "us-east-1:*************", | |
"Region": "us-east-1" | |
} |
#!/bin/bash | |
set -e | |
IFS='|' | |
AMPLIFY_ENVIRONMENT='dev' | |
AWS_REGION='us-east-1' | |
AWSCLOUDFORMATIONCONFIG="{\ | |
\"configLevel\":\"project\",\ | |
\"useProfile\":true,\ |
# GIT Aliases | |
alias gs='git status ' | |
alias gpu='git push all ' | |
alias gps='git push all ' | |
alias gpl='git pull all ' | |
alias ga='git add ' | |
alias gb='git branch ' | |
alias gc='git commit' | |
alias gd='git diff' | |
alias go='git checkout ' |
const assert = require('assert'); | |
function isAnagram(word1, word2) { | |
return word1.toLowerCase().replace(' ', "").split("").sort().join("") === | |
word2.toLowerCase().replace(' ', "").split("").sort().join(""); | |
} | |
function isPalindrome(word) { | |
if (word.length % 2 === 0) { | |
//even length word |
<html> | |
<body> | |
<p>Question: when clicking on each input field below, what will be outputted to the console?</p> | |
<input type="text"> | |
<input type="text"> | |
<input type="text"> | |
<input type="text"> | |
<script> | |
var elements = document.getElementsByTagName("input"); | |
var n = elements.length; |
/** | |
* Interview Example for React JS | |
* Question: Find three errors in the following React Component. | |
* | |
*/ | |
import React, { Component } from "react"; | |
import { render } from "react-dom"; | |
class App extends Component { | |
constructor(props) { |
var debug = process.env.NODE_ENV !== "production"; | |
var webpack = require('webpack'); | |
module.exports = { | |
entry: './src/main.js', | |
output: { | |
path: './dist/', | |
filename: 'bundle.js' | |
}, | |
module: { |
{ | |
"name": "Simple_ES6_Babel_Project", | |
"version": "1.0.0", | |
"description": "Build template to watch, compile, and serve a ES2015 JS project.", | |
"main": "index.html", | |
"scripts": { | |
"dev": "http-server | npm run compile-js", | |
"compile-js": "babel ./public/js/app.js --watch --out-file ./public/js/app_compiled.js --presets=es2015" | |
}, | |
"author": "Scott Rees", |
{ | |
"name": "my-npm-project", | |
"version": "0.0.1", | |
"description": "My project description", | |
"watch": { | |
"dist-css": { | |
"patterns": [ | |
"./" | |
], | |
"extensions": "less", |