Thursday, August 6, 2020

20 Digits of Pi in JSX

import React from 'react';
import ReactDOM from 'react-dom';

// Write code here:
const math = (

2 + 3 = {2 + 3}

); ReactDOM.render(math, document.getElementById('app') );

Wednesday, August 5, 2020

Git & GitHub Crash Course: Create a Repository From Scratch!

git clone URL

git status

git add README.md

git status

git commit -m "Initial commit"

git push origin master

git add index.html (adding to git after creating index.html)

git diff README.md (what lines have changed)

git commit -m "Second commit" (m stands for message here)

git log

git checkout README.md (undo if you mess up your code)