Skip to content

Commit

Permalink
fix parcel config
Browse files Browse the repository at this point in the history
  • Loading branch information
fachryadhitya committed Nov 10, 2023
0 parents commit 621e935
Show file tree
Hide file tree
Showing 40 changed files with 15,646 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "react-app"
}
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
.pnp
.pnp.js

# parcel-generated files
dist
.parcel-cache

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": true
}
16 changes: 16 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Josh's Course Materials License

Version 1, November 2020
Copyright (c) Josh Comeau, 2020-present

The files in this repository are meant to be used as part of a paid course, and are not intended for public distribution. They're open-source because it's the simplest form of distribution, and provides the best experience for students enrolled in the course.

All are welcome to create personal copies of this repository, and modify its contents for educational use. Please experiment with the code, and see what you can build!

It is forbidden to use these contents in any sort of commercial endeavour, including but not limited to:

• Reselling its contents as part of a different course
• Incorporating the code into a pre-existing business or project
• Selling your solution to students enrolled in the course

Exemptions can be made, on a case-by-case basis. Contact Josh Comeau ([email protected]) for more information.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Getting Started

This project is created with [Parcel](https://parceljs.org/), a modern JS build tool. It's intended to be run locally, on your computer, using Node.js and NPM.
Binary file added docs/bottom-keyboard-clone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/bottom-keyboard-original.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions docs/end-result.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<div id="root">
<div class="wrapper">
<header>
<div class="side"></div>
<h1>Word Game</h1>
<div class="side">
<!--
Help button
(code omitted for brevity)
-->
</div>
</header>

<div class="game-wrapper">
<div class="guess-results">
<p class="guess">
<span class="cell incorrect">R</span>
<span class="cell misplaced">A</span>
<span class="cell misplaced">T</span>
<span class="cell incorrect">E</span>
<span class="cell incorrect">S</span>
</p>
<p class="guess">
<span class="cell correct">A</span>
<span class="cell correct">B</span>
<span class="cell correct">O</span>
<span class="cell incorrect">V</span>
<span class="cell incorrect">E</span>
</p>
<p class="guess">
<span class="cell correct">A</span>
<span class="cell correct">B</span>
<span class="cell correct">O</span>
<span class="cell correct">U</span>
<span class="cell correct">T</span>
</p>
<p class="guess">
<span class="cell"></span>
<span class="cell"></span>
<span class="cell"></span>
<span class="cell"></span>
<span class="cell"></span>
</p>
<p class="guess">
<span class="cell"></span>
<span class="cell"></span>
<span class="cell"></span>
<span class="cell"></span>
<span class="cell"></span>
</p>
<p class="guess">
<span class="cell"></span>
<span class="cell"></span>
<span class="cell"></span>
<span class="cell"></span>
<span class="cell"></span>
</p>
</div>

<form class="guess-input-wrapper">
<label for="guess-input">Enter guess:</label>
<input id="guess-input" type="text" />
</form>

<div class="happy banner">
<p>
<strong>Congratulations!</strong> Got it in
<strong>3 guesses</strong>.
</p>
</div>
</div>
</div>
</div>
Binary file added docs/guess-input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/happy-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/printed-word-list.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/sad-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/submit-guess.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/wordle-demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/wordle-squares.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/words-in-cells.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/words-with-backgrounds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 621e935

Please sign in to comment.