Skip to content

Feature #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import './App.css'
import IncrementingButton from './problems/IncrementingButton';
import WorkingWithArrays from './problems/WorkingWithArrays';
import ProblemWrapper from './ProblemWrapper';

// Ground Rules:
// Anything goes... you can google it, you can ask questions, you can do basically anything except "Phone a Friend".

// As a programmer, we are always dealing with things we do not know, and to be honest it's impossible to remember everything off the top of your head.
// So, we rely on documentation and our tools such as IDEs to help us be productive. I'm just here to watch you think and see how you process information.
// The worst thing you can do is: nothing. If you just sit there and stare, then there's no chance. If you struggle through something and talk through it, then
// I'm glad to facilitate.

// Prerequisites:
// - npm install
// - npm run dev

// TODO - first create a branch /interviews/{lastname-firstname}
// 1. Add a background color on the entire page to be #282c34 (text white)
// 2. Add a block of larger text on the page with your name
// 3. Add some spacing around the entire page
// 4. Add some padding or margin around each question
// 5. Make the description of the question bold and a little larger

function App() {
return (
<div>
<h1>Patrick Brennan</h1>
<ProblemWrapper description="Implement incrementing button.">
<IncrementingButton />
</ProblemWrapper>

<ProblemWrapper description="Working with arrays">
<WorkingWithArrays input={[1, 2, 3, 4, 5]} />
</ProblemWrapper>
</div>
)
}

export default App
18 changes: 18 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<h1>Hello!</h1>
<script src="./sandbox.js"></script>
</body>
</html>

<!-- this comment will be remembered for all time -->
<!-- like this one too -->
<!-- here is a new comment -->
1 change: 1 addition & 0 deletions playground.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// testing 321
12 changes: 12 additions & 0 deletions sandbox.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
let age = 25;
let year = 2021;
console.log(age, year);

age = 30;
console.log(age);

const points = 100;
console.log(points);

var score = 75;
console.log("Score: " + score);
Empty file added style.css
Empty file.