Skip to content

Instantly share code, notes, and snippets.

const ctx = document.getElementById("myChart");
ctx.style.display = "none";
const startElement = document.getElementById("from");
const endElement = document.getElementById("to");
const searchButton = document.getElementById("search");
const currencySelect = document.getElementById("currency");
const minElement = document.getElementById("min");
const maxElement = document.getElementById("max");
let months;
@TA-Remote
TA-Remote / index.html
Created August 1, 2022 09:42
Lab Memory Game
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Superhero Memory Game</title>
<link rel="stylesheet" href="styles/style.css" />
</head>
<body>

VSCode shortcuts:

Note that depending on your OS, your graphics card, and other software you

may have running, some of these commands may be overwritten or ignored on your machine.

General

Mac | PC | Description |

@TA-Remote
TA-Remote / App.js
Last active September 20, 2023 12:12
React Training W7D3
import React from 'react';
import IdCard from './components/IdCard';
import Greetings from './components/Greetings';
import Random from './components/Random';
import BoxColor from './components/BoxColor';
import CreditCard from './components/CreditCard';
import Rating from './components/Rating';
import DriverCard from './components/DriverCard';
import LikeButton from './components/LikeButton';
import ClickablePicture from './components/ClickablePicture';
@TA-Remote
TA-Remote / App.js
Created April 1, 2022 09:13
LAB | Wiki Countries
import './App.css';
import {Routes, Route} from 'react-router-dom'
import Navbar from './components/Navbar';
import CountriesList from './components/CountriesList';
import CountryDetails from './components/CountryDetails';
import countriesArr from './countries.json';
import { useState, useEffect } from 'react';
import axios from 'axios';
function App() {
@TA-Remote
TA-Remote / config-index.js
Created March 17, 2022 11:16
Basic Auth Lab
// We reuse this import in order to have access to the `body` property in requests
const express = require("express");
// ℹ️ Responsible for the messages you see in the terminal as requests are coming in
// https://www.npmjs.com/package/morgan
const logger = require("morgan");
const session = require("express-session");
const MongoStore = require('connect-mongo');
// ℹ️ Needed when we deal with cookies (we will when dealing with authentication)