Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cc201010
VueProject
Commits
b87ce65d
Commit
b87ce65d
authored
Feb 05, 2022
by
cc201010
Browse files
Advanced Js Project , Read me file
parent
ada14e4b
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b87ce65d
# VueProject
This is a project for advanced javascript class.
\ No newline at end of file
This is a project for advanced javascript course.
## What will you'll find in my project
-
Calculator app
-
A Pokedex
-
Card guesser game
-
BlackJack game "Player + Dealer"
## Calculator
A simple fully functional calculator.
## A Pokedex
showing all 151 Pokemon using external API.
## Card guesser game "Improvements"
-
prevent the user from drawing a card until he guesses the next card color.
-
Show only one card at once .
-
Nice ui.
## BlackJack game
The objective of black jack is to get a hand total of closer to 21 than the dealer without going over 21 (busting).
## How to run the app
1- switch to poke-app folder cd poke-app
2- run npm install to get all dependencies.
3- run npm run dev to run the dev server and have the application running.
## Project netlify Link
https://cc201010-atjs.netlify.app
poke-app/README.md
deleted
100644 → 0
View file @
ada14e4b
# Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3
`<script setup>`
SFCs, check out the
[
script setup docs
](
https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup
)
to learn more.
## Recommended IDE Setup
-
[
VSCode
](
https://code.visualstudio.com/
)
+
[
Volar
](
https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar
)
poke-app/src/components/calculatorComp.vue
View file @
b87ce65d
...
...
@@ -7,7 +7,7 @@
<div
class=
"calculator mt-2 mb-3 w-4/5 md:w-3/5"
>
<div
id=
"screen"
>
{{
current
||
0
}}
</div>
<table
class=
"
border
w-full"
>
<table
class=
"w-full"
>
<tr>
<td
@
click=
"restResult"
><button
class=
"btn text-2xl md:text-3xl"
>
C
</button></td>
<td
v-for=
"op in operatorsSet"
@
click=
"setModifier(op)"
><button
class=
"btn text-2xl md:text-3xl"
>
{{
op
}}
</button></td>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment