Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
React Redux Starter Code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andrew Herold
React Redux Starter Code
Commits
7e9891cd
Commit
7e9891cd
authored
4 years ago
by
Andrew Herold
Browse files
Options
Downloads
Patches
Plain Diff
Checkpoint 3. Added basic HTML
parent
0a458ed2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
catch-rate-calc/src/features/catchRateCalc/catchRateCalc.js
+50
-2
50 additions, 2 deletions
catch-rate-calc/src/features/catchRateCalc/catchRateCalc.js
with
50 additions
and
2 deletions
catch-rate-calc/src/features/catchRateCalc/catchRateCalc.js
+
50
−
2
View file @
7e9891cd
...
...
@@ -3,7 +3,55 @@ import React from 'react';
export
function
CatchRateCalc
()
{
return
(
<
main
>
[
placeholder
text
]
<
div
class
=
"
level
"
>
<
label
id
=
"
level
"
>
Enter
the
Pokemon
'
s Level:</label>
<input type="number" id="level" name="level"></input>
</div>
<div class="ball">
<label id="ball">Ball:</label>
<select name="ball">
<option value="1">Poke Ball</option>
<option value="1.5">Great Ball</option>
<option value="2">Ultra Ball</option>
<option value="999">Master Ball</option>
<option value="1+.3">Timer Ball</option>
<option value="4">Quick Ball</option>
</select>
</div>
<div class="rate">
<label for="rate">Enter the Pokemon
'
s
Modified
Catch
Rate
:
<
/label
>
<
input
type
=
"
number
"
id
=
"
rate
"
name
=
"
rate
"
><
/input
>
<
/div
>
<
div
class
=
"
hp
"
>
<
label
for
=
"
hp
"
>
HP
Approximation
(
1
%
to
100
%
)
<
/label
>
<
div
class
=
"
slidecontainer
"
>
<
input
type
=
"
range
"
min
=
"
1
"
max
=
"
100
"
value
=
"
50
"
class
=
"
slider
"
id
=
"
myRange
"
><
/input
>
<
/div
>
<
/div
>
<
div
class
=
"
falseSwipe
"
>
<
label
for
=
"
falseSwipe
"
>
False
Swipe
(
exactly
1
HP
):
<
/label
>
<
input
type
=
"
checkbox
"
id
=
"
falseSwipe
"
value
=
"
1
"
><
/input
>
<
/div
>
<
div
class
=
"
status
"
>
<
label
for
=
"
status
"
>
Status
:
<
/label
>
<
select
name
=
"
ball
"
>
<
option
value
=
"
1
"
>
None
<
/option
>
<
option
value
=
"
1.5
"
>
Poisoned
<
/option
>
<
option
value
=
"
1.5
"
>
Burned
<
/option
>
<
option
value
=
"
2
"
>
Asleep
<
/option
>
<
option
value
=
"
1.5
"
>
Paralyzed
<
/option
>
<
option
value
=
"
2
"
>
Frozen
<
/option
>
<
/select
>
<
/div
>
<
/main
>
);
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment