Skip to content

Instantly share code, notes, and snippets.

🕵️‍♀️
I may be slow to respond.

mambodin

🕵️‍♀️
I may be slow to respond.
View GitHub Profile
View NoteApp V1
import React, {useState, useEffect} from 'react';
const NoteApp = () =>{
let [title, setTitle] = useState('')
let [noteBody, setNoteBody] = useState('')
let [notes, setNotes] = useState([])
let addNoteHandler = (e) =>{
e.preventDefault()
View ReactCalculator
import React, {useState, useEffect} from 'react';
import '../Css/Calculator.css'
const Calculator = () => {
let [result, setResultState] = useState(0)
let [inputDisplay, setInputDisplayState] = useState(0)
View gist:2b0698998e616ab7dde381a9ec5cf33d
# Paste your game code from Task 2 here to work on your upgrades
import random
def difficulty():
difficulty = int(input("We will be playing game of limits. Tell me your upper limit "))
return difficulty
def intro(diff):
name = input("What is your name ? ")
View Profile
import React from 'react';
import ReactDom from 'react-dom';
let root = document.getElementById('root')
let jsx = (
<div><h1>Welcome to my site</h1> <p>Hello World!</p></div>
View InstaFake.js
import React, {useState, useEffect} from 'react'
import firebase from './database'
const DataPull = () =>{
let [data, setData] = useState([])
useEffect(()=>{
firebase.database().ref('/Entries').on('value', (snapshot) => {
View InstaFake
import React, { useState, useEffect } from 'react';
import firebase from './fire'
const DataPull = () => {
let [data, setData] = useState([])
useEffect(() => {
firebase.database().ref('react-firebase/').on("value", (snapshot) => {
You can’t perform that action at this time.