Skip to content

Instantly share code, notes, and snippets.

View HectorBlisS's full-sized avatar
💭
Learning as a past time activity

BlisS HectorBlisS

💭
Learning as a past time activity
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div id="root"></div>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div id="root">BlisS</div>
<button id="suma">+</button>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<h1>BlisS</h1>
<canvas id="canvas"></canvas>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<canvas id="canvas"></canvas>

Project #1: Video Game with Javascript

Presentations

Project #1's presentation will focus more on you again, since you will be presenting to judges.

Format

html, body, h3{
margin: 0;
}
nav{
background-color:red;
height: 54px;
color:white;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>bliss</title>
<link rel="stylesheet" href="styles.css"/>
var button = document.getElementById("update");
var interval;
var min = 2;
var sec = 60;
button.addEventListener("click", function(){
var name = document.getElementById('name');
var title = document.getElementsByTagName('h1')[0];
title.innerHTML = name.value;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div id="root" ></div>
const jwt = require('jsonwebtoken');
//const expressjwt = require('express-jwt');
const User = require('../models/User');
exports.verifyToken = (req, res, next) => {
// check header or url parameters or post parameters for token
//console.log(req.headers);
var token = req.body.token || req.query.token || req.headers['x-access-token'] || req.headers['authorization'];