Skip to content

Commit 27096e1

Browse files
authored
Merge branch 'code-differently:main' into Shawn-lesson05
2 parents 38125a9 + e422bce commit 27096e1

20 files changed

+6055
-1
lines changed

lesson_01/dennislipscomb/README.HTML

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<link rel="stylesheet" href="styles.css">
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>The README About Nothing</title>
8+
</head>
9+
10+
<body bgcolor=white></body>
11+
<h2 id="the-readme-about-nothing-">The README About Nothing 😎</h2>
12+
<hr>
13+
<p>Dennis is a born creative at heart. His creative journey started with attending The Art Institute of Philadelphia as an <br> audio engineer and pivoting into creating music, writing music and publishing a book of spokenword entitled HeARTwork.</p>
14+
15+
<h2 id="the-motivation-">The Motivation 🙏🏽</h2>
16+
<hr>
17+
<p>How I like to start my day</p>
18+
<ul>
19+
<li>Iced Matcha latte or Cold Brew w/ oatmilk</li>
20+
<li>Unnecessarily loud music </li>
21+
<li>BLT (turkey bacon only)</li>
22+
<li>30 minutes of exercise</li>
23+
<li>Sports debate shows</p>
24+
</li>
25+
</ul>
26+
<h2 id="the-connection-">The Connection 🔗</h2>
27+
<hr>
28+
<p>I don&#39;t have a personal prefence with communication. If you have a direct way to reach me, use which ever works best for you. </p>
29+
<p>Phone calls, text, e-mail, morse code ect. Anytime of day, if im awake or not busy I&#39;ll respond asap, scouts honor.</p>
30+
<h2 id="the-learning-style-">The Learning Style 👀</h2>
31+
<hr>
32+
<p><strong>The Positive Way</strong> 📈 I&#39;m a visual learner. The best way for me to retain information is by seeing a visual demonstration or example and then repetition of practice. </p>
33+
<p><strong>The Negative Way</strong> 📉 Reading with out any direction of what i&#39;m doing makes it difficult to retain information. </p>
34+
<h2 id="the-feedback-">The Feedback 🫵🏽</h2>
35+
<hr>
36+
<p>I prefer to receive direct feedback in a 1-on-1 setting. Don&#39;t hold any punches. Brute honesty motivates me. I may not like you in the moment but I&#39;ll appreciate it later.</p>
37+
<p>On the otherhand, I tend to be soft when giving feedback. I can be very politically correct and try to protect feelings while still getting the point across. </p>
38+
<h2 id="the-favorite-things-">The Favorite Things 🤌🏽</h2>
39+
<hr>
40+
<ul>
41+
<li>Chicken Wings 🍗</li>
42+
<li>Autumn 🍁</li>
43+
<li>Sneakers 👟</li>
44+
<li>Writing Music/Poetry 🎤</li>
45+
<li>Running 🏃🏽‍♂️</li>
46+
<li>Cooking 👨🏽‍🍳</li>
47+
<li>Hats 🧢</li>
48+
<li>Music 🎧</li>
49+
<li>Sports 🏀</li>
50+
<li>Flannels 🪵</li>
51+
<br>
52+
</ul>
53+
<h2 id="the-goals-">The Goals 🥅</h2>
54+
<hr>
55+
<p>My main goal for this year is to add tech to my creative ablities in any aspect. To start my food content creator journey and to write another book.</p>
56+
<h2 id="the-proudest-accomplishment-">The Proudest Accomplishment! 🥳</h2>
57+
<hr>
58+
<h2>he<div class="heartwork">ART</div>work ❤️</h2>
59+
<hr>
60+
<p><img src="images/heartwork.jpg"height=770></p>
61+
62+
</html>
679 KB
Loading

lesson_01/styles.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.heartwork{
2+
color: red;
3+
display: inline;
4+
}
5+
body{
6+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
7+
font-weight: 400;
8+
}
9+
10+
html{
11+
margin: auto;
12+
width: 70% ;
13+
}
14+
li{
15+
padding-bottom: 7px;
16+
}

lesson_06/README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,25 @@ Please review the following resources before lecture:
88

99
## Homework
1010

11-
TODO(anthonydmays): Add details
11+
- [ ] Complete the [Expression Calculator](#expression-calculator) exercise.
12+
- [ ] Read article entitled [3 Questions That Will Make You A Phenomenal Rubber Duck][article-link]
13+
- [ ] Do pre-work for [lesson 07](/lesson_07/).
14+
15+
### Expression Calculator
16+
17+
For this assignment, you will need to implement the functions and logic required to calculate a mathematical expression. After implementing the `add`, `divide`, and `multiply` functions, you will combine these functions to compute the final result.
18+
19+
1. Update the code in the [expression_calculator.ts][calculator-file] file.
20+
2. To check your work, you can run the application using the first command below and run the tests using the second one.
21+
```bash
22+
npm run compile
23+
npm start
24+
```
25+
3. As usual, make sure that you format your code and run the check command before creating your pull request.
26+
```bash
27+
npm run check
28+
```
29+
4. You must only submit changes to the `expression_calculator.ts` file to receive full credit.
30+
31+
[article-link]: https://blog.danslimmon.com/2024/01/18/3-questions-that-will-make-you-a-phenomenal-rubber-duck/
32+
[calculator-file]: ./expression/src/expression_calculator.ts

lesson_06/expression/.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
insert_final_newline = true

lesson_06/expression/.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build/

lesson_06/expression/.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore artifacts:
2+
build
3+
coverage

lesson_06/expression/.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

lesson_06/expression/eslint.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// @ts-check
2+
3+
import eslint from "@eslint/js";
4+
import tseslint from "typescript-eslint";
5+
import eslintConfigPrettier from "eslint-config-prettier";
6+
7+
export default tseslint.config(
8+
eslint.configs.recommended,
9+
...tseslint.configs.strict,
10+
...tseslint.configs.stylistic,
11+
eslintConfigPrettier,
12+
{
13+
ignores: ["build"],
14+
},
15+
);

lesson_06/expression/jest.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} **/
2+
export default {
3+
testEnvironment: "node",
4+
transform: {
5+
"^.+.tsx?$": ["ts-jest", { useESM: true }],
6+
},
7+
moduleNameMapper: {
8+
"^(\\.\\.?\\/.+)\\.js$": "$1",
9+
},
10+
extensionsToTreatAsEsm: [".ts"],
11+
};

0 commit comments

Comments
 (0)