Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript javascript1 week1 #58

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
6fc91c9
Add files via upload
VadimTofan Jan 15, 2025
e468cdc
Update styles.css
VadimTofan Jan 15, 2025
5087e31
Update index.html
VadimTofan Jan 16, 2025
3ae4eb5
Update index.html
VadimTofan Jan 16, 2025
c426be3
Update styles.css
VadimTofan Jan 16, 2025
cc49484
Update styles.css
VadimTofan Jan 16, 2025
6fa2896
Update styles.css
VadimTofan Jan 17, 2025
68a80dd
Update index.html
VadimTofan Jan 17, 2025
3f0d190
Update index.html
VadimTofan Jan 17, 2025
9b9aea7
Update styles.css
VadimTofan Jan 17, 2025
4870b7e
Update styles.css
VadimTofan Jan 17, 2025
181f53f
Update index.html
VadimTofan Jan 17, 2025
ccabc8e
Update styles.css
VadimTofan Jan 17, 2025
c350f94
Update index.html
VadimTofan Jan 17, 2025
b112929
Update index.html
VadimTofan Jan 17, 2025
8c4485f
Update styles.css
VadimTofan Jan 18, 2025
26a7447
Update index.html
VadimTofan Jan 18, 2025
63b7eb0
Update styles.css
VadimTofan Jan 18, 2025
6a1e329
Update styles.css
VadimTofan Jan 18, 2025
9f5cba7
Update index.html
VadimTofan Jan 18, 2025
5726cfd
Update styles.css
VadimTofan Jan 18, 2025
3e9ece3
Update index.html
VadimTofan Jan 18, 2025
24bca15
Create Index.html
VadimTofan Jan 20, 2025
128fe48
Create styles.css
VadimTofan Jan 20, 2025
3adcf08
Delete html-css/week1/styles.css
VadimTofan Jan 20, 2025
ea67f08
Delete html-css/week1/index.html
VadimTofan Jan 20, 2025
bae2804
Updated Index.html
VadimTofan Jan 20, 2025
ba77b7d
Delete html-css/week1/Vadim/Index.html
VadimTofan Jan 20, 2025
97fcca2
Delete html-css/week1/Vadim/styles.css
VadimTofan Jan 20, 2025
0e4685b
Updated styles.css
VadimTofan Jan 20, 2025
6b52a4d
Order Project
VadimTofan Jan 21, 2025
8fce997
Order Project
VadimTofan Jan 21, 2025
9a00e49
Small Changes
VadimTofan Jan 21, 2025
6b0a429
Small Changes
VadimTofan Jan 21, 2025
ca577fe
last changes
VadimTofan Jan 21, 2025
92afd6d
Added changes to placeholder, and input text. Used JS to make input b…
VadimTofan Jan 21, 2025
3d48733
JS was a bit corrupted, had to re-write a few lines
VadimTofan Jan 21, 2025
1dcf86c
fixed the radio button, changed card data into form
VadimTofan Jan 21, 2025
49a19ba
Changed Input Style
VadimTofan Jan 21, 2025
fd67c9d
Added min-length to the input fields
VadimTofan Jan 21, 2025
5134ccf
Added position: absolute; to radio buttons.
VadimTofan Jan 22, 2025
36f9302
Changed some Styling
VadimTofan Jan 22, 2025
0988842
Did the changes Bjørn suggested
VadimTofan Jan 23, 2025
87a0e06
Did the changes Yasen suggested to the Portfolio Project
VadimTofan Jan 24, 2025
fa34d60
Changed Survey form to CodePen
VadimTofan Jan 24, 2025
72e5661
Delete html-css/week1/Vadim/Portfolio Project directory
VadimTofan Jan 24, 2025
d49be0b
Some JS Changes
VadimTofan Jan 24, 2025
1804968
removed a directory
VadimTofan Jan 24, 2025
12f1d29
Changed Order Form accoring to Yasen's comments
VadimTofan Jan 24, 2025
857585b
added padding in to bottom of the help link
VadimTofan Jan 26, 2025
d2f368c
Last changes to the order project.
VadimTofan Jan 26, 2025
93c828c
Last changes to the order project.
VadimTofan Jan 26, 2025
e1c9b57
checking git on laptop
VadimTofan Jan 26, 2025
be58d04
Formatted the font as Yasen mentioned
VadimTofan Jan 26, 2025
c962d86
Last Changes
VadimTofan Jan 26, 2025
4a339eb
Slight Changes
VadimTofan Jan 26, 2025
4a9e5f7
Commiting my_favorite_food.txt
VadimTofan Jan 29, 2025
2b7d3fa
Commiting my_second_favorite_food.txt
VadimTofan Jan 29, 2025
1ce4ea1
Commiting countries.txt
VadimTofan Jan 29, 2025
b54d5d4
Merge pull request #1 from VadimTofan/git-week1/vadim
VadimTofan Jan 29, 2025
51a3092
Merge pull request #2 from VadimTofan/html-css/week1/vadim
VadimTofan Jan 29, 2025
e504c8e
added apples_file.txt
VadimTofan Jan 29, 2025
b465f49
added oranges_file.txt and bananas_file.txt
VadimTofan Jan 29, 2025
5a83cb4
added apples_file.txt - 2
VadimTofan Jan 29, 2025
13f0880
Merge pull request #3 from VadimTofan/git-week1/vadim
VadimTofan Jan 29, 2025
9e01cc4
Excercise 2 Commit
VadimTofan Jan 29, 2025
42fe7e2
Excercise 2 Commit-2
VadimTofan Jan 29, 2025
0792db3
Merge pull request #4 from VadimTofan/git-week1/exercise_2/vadim
VadimTofan Jan 29, 2025
8c859db
Excercise 3 Commit-1
VadimTofan Jan 29, 2025
6aaa5c8
Update colors.txt
VadimTofan Jan 29, 2025
0b0afe7
Excercise 3 Commit-2
VadimTofan Jan 29, 2025
d72cc1b
Excercise-3 Commit 3
VadimTofan Jan 29, 2025
1d98368
Merge pull request #5 from VadimTofan/git-week1/exercise_3/vadim
VadimTofan Jan 29, 2025
7b32299
Excercise-4 Commit-1
VadimTofan Jan 29, 2025
48727c9
Merge pull request #6 from VadimTofan/git/week1/exercise_4/vadim
VadimTofan Jan 29, 2025
5d4a5e8
Homework asignment for JavaScript Week1
VadimTofan Feb 2, 2025
d55af84
Changed Let to const in ez-namey.js | Changed goodboy-oldboy.js dog a…
VadimTofan Feb 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"cSpell.words": [
"buttonsvg",
"totalnow",
"totalpermonth"
]
}
3 changes: 3 additions & 0 deletions git/week1/class_playground/apples_file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
apples_file.txt
apples_file.txt
apples_file.txt
1 change: 1 addition & 0 deletions git/week1/class_playground/bananas_file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bananas_file.txt
4 changes: 4 additions & 0 deletions git/week1/class_playground/colors.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
beige
red
blue
red
2 changes: 2 additions & 0 deletions git/week1/class_playground/movies
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Die Hard
Die Hard 2
2 changes: 2 additions & 0 deletions git/week1/class_playground/my_homework.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
my_homework.txt
my_homework.txt
1 change: 1 addition & 0 deletions git/week1/class_playground/oranges_file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oranges_file.txt
Empty file added git/week1/countries.txt
Empty file.
Empty file added git/week1/my_favorite_food.txt
Empty file.
Empty file.
340 changes: 340 additions & 0 deletions html-css/week1/Vadim/OrderProject/files/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,340 @@
body {
margin: 0 auto;
font-family: Arial;
}


/* --- Header --- */
.order {
color: white;
background: linear-gradient(92.74deg, #FD7B46 1.15%, #FE4E9B 98.48%);
padding: 2%;
}

.order__summary {
text-align: center;
}

.order__totalpermonth {
display: flex;
justify-content: space-between;
opacity: 0.8;
border-bottom: 2px solid white;
}

.order__totalnow {
display: flex;
justify-content: space-between;
font-weight: 700;
}


.payment {
text-align: center;
padding: 20px 0;
}

.payment__option {
display: inline-flex;
height: 110px;
width: 95%;
align-items: center;
justify-content: space-around;
padding: 20px 0;
}

.payment__radio {
position: absolute;
}


.option-1, .option-2 {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #939393;
width: 45%;
gap: 10px;
font-size: 12px;
font-weight: 700;
font-family: Montserrat;
height: 110px;
border: transparent;
background: #FFFFFF;
box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.3);
border-radius: 10px;
border: 4px solid transparent;
filter: grayscale(100);
opacity: 0.8;
}

input[type="radio"] {
appearance: none;
outline: 0;
}

.payment__radio1:checked~.option-1,
.payment__radio2:checked~.option-2 {
border: 4px solid #fe4e9b;
transform: scale(0.99);
filter: grayscale(0);
opacity: 1;
}

.payment__option .option span {
font-size: 12px;
font-weight: 700;
filter: grayscale(100%);
opacity: 0.6;
color: #939393;
}

.payment__radio1:checked:checked~.option-1 span,
.payment__radio2:checked:checked~.option-2 span {
filter: grayscale(0);
opacity: 1;
}

.payment__img1 {
height: 36px;
width: 8rem;
object-fit: contain;
}

.payment__img2 {
height: 36px;
margin-left: -7%;
object-fit: contain;
}

/* --- Card Data Input --- */
.card {
display: flex;
flex-direction: column;
align-items: center;
font-family: Montserrat;
font-weight: 600;
padding: 0 5% 0 5%;
color: #939393;
}

.card__info {
font-size: 24px;
font-weight: 700;
font-family: Arial;
color: black;
}

.card__input {
display: flex;
flex-direction: column;
}

.card__number {
width: 100%;
height: 44px;
background: #F3F1F2;
border: 1px solid #939393;
border-radius: 4px;
background-image: url("../images/icon8.webp");
background-repeat: no-repeat;
background-position: 96% 50%;
}

.card__number::placeholder {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 20px;
}

.card__data {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.card__safety {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
gap: 20px;
padding-top: 30px;
}

.card__safety .card__text {
margin-bottom: -10px;
}

.card__text {
margin-bottom: 5px;
}

.card__expiry {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.card__date {
display: flex;
justify-content: center;
width: 100%;
height: 44px;
background: #F3F1F2;
border: 1px solid #939393;
border-radius: 4px;
}

.card__date::placeholder {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 20px;
}

.card__sec {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.card__security {
width: 100%;
height: 44px;
background: #F3F1F2;
border: 1px solid #939393;
border-radius: 4px;
background-image: url("../images/icon8.webp");
background-repeat: no-repeat;
background-position: 90% 50%;
}

.card__security::placeholder {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 20px;
padding-right: 50px;
}

input[type=text] {
font-size: 24px;
text-align: center;
}

input {
text-align:left;
}

/* --- Buy-Now Button --- */
.primary-button {
background: linear-gradient(92.74deg, #FD7B46 1.15%, #FE4E9B 98.48%);
border-radius: 68px;
border: 0;
color: white;
font-weight: 700;
font-size: 24px;
margin-top: 50px;
padding: 18px 86px;
}

.primary-button:hover {
transition: all 0.2s ease-in-out;
transform: scale(1.02);

}

.primary-button:active {
transform: scale(0.95);
transition: all 0.2s ease-in-out;
background: linear-gradient(92.74deg, #FE4E9B 1.15%, #FD7B46 98.48%);
}

/* --- Help Anchor --- */
.help {
display: flex;
justify-content: center;
padding-top: 25px;
}

.help__link {
font-weight: 700;
font-size: 18px;
background: linear-gradient(91.07deg, #FE4E9B 32.21%, #FD7B46 67.08%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}

.help__link:visited {
background: linear-gradient(91.07deg, #FE4E9B 32.21%, #FD7B46 67.08%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}

.help__link:hover {
cursor: pointer;
transition: all 0.2s ease-in-out;
transform: scale(1.02);
background: linear-gradient(92.74deg, #FD7B46 1.15%, #FE4E9B 98.48%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}

.help__link:active {
transform: scale(0.95);
transition: all 0.2s ease-in-out;
}


@media (min-width: 768px) {
body {
max-width: 800px;
}

.order__summary {
align-self: flex-start
}
.card {
padding: 54px 15px;
}
.card__input {
flex-direction: row;
gap: 20px;
width: 100%;
}
.card__data {
width: 48%;
}
.card__safety {
padding: 0;
width: 53%;
justify-content: space-around;
}
.card__sec {
width: 50%;
}
.card__expiry {
width: 40%;
}

.help {
padding: 0 0 30px 0;
margin-top: -10px
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading