✨ sparkles✨
This commit is contained in:
parent
5a613a0234
commit
a417d94349
@ -1,4 +1,4 @@
|
|||||||
# Tarot Project
|
# ✨Tarot Project✨
|
||||||
|
|
||||||
This site produces tarot card readings for the horseshoe spread to help you find a new perspective on a specific problem.
|
This site produces tarot card readings for the horseshoe spread to help you find a new perspective on a specific problem.
|
||||||
|
|
||||||
|
@ -12,4 +12,5 @@ These are the tasks I am setting out for myself on this project. This list will
|
|||||||
- [ ] Build around the app a site design.
|
- [ ] Build around the app a site design.
|
||||||
- [ ] Make sure all the design is responsive.
|
- [ ] Make sure all the design is responsive.
|
||||||
- [ ] Change deck image, illustration of Pamela Colman Smith dealing cards?
|
- [ ] Change deck image, illustration of Pamela Colman Smith dealing cards?
|
||||||
|
- [ ] Arrange for the cards dealt to be positioned in an arch on the center of the page
|
||||||
- [ ]
|
- [ ]
|
2
main.js
2
main.js
@ -94,7 +94,7 @@ cards[77] = "77_King_of_Swords";
|
|||||||
|
|
||||||
// create function to randomly select a number that corresponds with the number of cards available. Used Math.floor to remove remainder from the random calculation, found that i could never get the King Of Swords because 78 was an impossibility. opted for math.round in order to achieve that possibility.
|
// create function to randomly select a number that corresponds with the number of cards available. Used Math.floor to remove remainder from the random calculation, found that i could never get the King Of Swords because 78 was an impossibility. opted for math.round in order to achieve that possibility.
|
||||||
var random = function() {
|
var random = function() {
|
||||||
return Math.round(Math.random() * (78-cardsDealt));
|
return Math.round(Math.random() * (77-cardsDealt));
|
||||||
};
|
};
|
||||||
|
|
||||||
//create a function to remove a card once it has been used. This is a basic way to avoid duplicates. Implies that to deal we must refresh the page.
|
//create a function to remove a card once it has been used. This is a basic way to avoid duplicates. Implies that to deal we must refresh the page.
|
||||||
|
@ -9,7 +9,7 @@ html, body, h1, h2, h3, h4, p, div, ul, li, a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
|
|
||||||
}
|
}
|
||||||
@media screen and (min-width:600px) {
|
@media screen and (min-width:600px) {
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ h1, h2 {
|
|||||||
}
|
}
|
||||||
.buttons input {
|
.buttons input {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
background-color: #000000;
|
background-color: transparent;
|
||||||
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user