@martinw0
Submitted
Do you know why my generate function doesn't work on Firefox (a second time) ?
Looking to hire developers?
@Harshi786
@martinw0
Submitted
Do you know why my generate function doesn't work on Firefox (a second time) ?
@Harshi786
Posted
Hey!
Buttons must have discernible text
. set the aria-label attribute to describe button.
<button aria-label="Advice Generator"></button>
Hope this helps :)
Marked as helpful
@rockingrohit9639
Submitted
Hey there, Please give your feedback. Thank you.
@Harshi786
Posted
Hey! Congrats on completing the challenge.
Here are some suggestions:
To make it more specific, add advice id.
In index.html file, Add <h1 class="adviceWrapper__heading">Advice # <span id="aid"> </span></h1>
.
In script.js file, const aid = document.querySelector("#aid");
then In function add aid.innerHTML = slip.id;
In style.css file, change @media only screen and (min-width: 500px)
.
Hope this helps :)
@KunalNimsatkar
Submitted
Difficult To Position in Center Because It is my first Project Also difficulties in Finding Correct Color.
@Harshi786
Posted
Hey @KunalNimsatkar!
Congrats on completing your first challenge.
Your code looks good but here are some tips to make it perfect:
.container {box-shadow: 0 40px 40px -20px rgba(13, 48, 189,0.15);}
a.proceedBtn { box-shadow: 0px 10px 20px hsl(245, 75%, 52%, 0.5);}
You need to wrap the whole code in <main>
tag. For example use <main class="container">
in place of <div class="container">
.
For details read this
Heading levels should only increase by one
: Headings should be in order. Use <h1> Order Summary </h1>
.
After using <h1> then use <h2> , <h3> for better coding.
For details read
Always call image with alt attribute. <img src="images/illustration-hero.svg" alt="illustration-hero">
.
Hope this helps :)
@yjkim0109
Submitted
This is my new challenge. If there's any suggestion, Please feel free to let me know. Any feedbacks would be appreciated! ;)
@Harshi786
Posted
Hey @yjkim0109!
Congrats on completing the challenge.
Your code looks good just a tip to make it perfect:
.desktop_img {
display: block;
height: 100%;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
mix-blend-mode: multiply;
opacity: 0.75;
}
Hope this helps :)
Marked as helpful
@Orhan32
Submitted
@Harshi786
Posted
Hi @Orhan32!
Congrats on completing the challenge.
Your code looks good but need to work on some accessibility issues:
You need to wrap the whole code in <main>
tag. For example use <main class="container">
in place of <div class="container">
.
For details read this
Links must have discernible text
: Use aria-label attribute. Example <a href=" #" aria-label="facebook profile"> <i class="fa-brands fa-facebook-f"></i> </a>
.
For details click on the link
Hope this helps :)
Marked as helpful
@pbitonga17
Submitted
I'm just practicing both CSS and Flexbox.
I hope i did well in this challenge, any comment will be appreciated.
Thank you <3
@Harshi786
Posted
Hi @pbitonga17!
Congrats on completing the challenge.
Click on View Report button, then on a right side a red colored Generate New Report button will appear.
Now click on generate new report button, it will reveal the HTML and Accessibility issues.
I guess you have already worked on html issues. Here are the tips for accessibility issues-
Links must have discernible text
: Use aria-label attribute. Example <a href=" #" aria-label="facebook profile"> <i class="fa-brands fa-facebook-f"></i> </a>
. For details click on the linkHope this helps :)
Marked as helpful
@Shashwati09
Submitted
@Harshi786
Posted
Hey @Shashwati09!
Congrats on completing the challenge.
Here are some tips to make it perfect.
font-family: "Red Hat Display", sans-serif;
background-image: url(order_images/pattern-background-desktop.svg);
background-repeat: no-repeat;
background-size:contain;
background-color: #e0e8ff;
display: grid;
place-items: center;
min-height: 100vh;
.card {
overflow: hidden;
width: 400px;
background-color:white;
border-radius: 20px;
box-shadow: 0 40px 40px -20px rgba(13, 48, 189,0.15);
}
You can Add a nice little shadow effect to payment button. box-shadow: 0 20px 20px 0 rgba(56, 42, 225, 0.19);
Add hover effects to buttons and links. For details see this once
-Try using em/rem value units instead of pixels. For details Read this link
Hope this helps :)
Marked as helpful
@SOURABH358
Submitted
Hey guys, this is my another solution to the frontend mentor challenge do check out my code and suggest any improvements. Thank You ✌.
@Harshi786
Posted
Hey @SOURABH358!
Congrats on completing the challenge.
Here are some tips to make your code perfect.
Remove height property from #card {}
.
Add html { background-color: hsl(225, 100%, 94%); }
.
For Background Image, some changes-
body {
width: 100%;
min-height: 100vh;
background: url("./images/pattern-background-mobile.svg") no-repeat;
background-position:top;
background-size:contain;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
box-shadow: 0 20px 20px 0 rgba(56, 42, 225, 0.19);
Hope this helps :)
Marked as helpful
@irinani
Submitted
@Harshi786
Posted
Hey @irinani!
Congrats on completing the challenge.
Your code looks good just a little tip to make it perfect:
.card-image:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--purple);
}
-Add mix-blend-property and opacity in image itself. Example-
.card-image img {
display: block;
object-fit: cover;
object-position: top;
width: 100%;
height: 100%;
mix-blend-mode: multiply;
opacity: 0.75;
}
Hope this helps to understand code better :)
@cma124
Submitted
@Harshi786
Posted
Hey @cma124
Congrats on completing the challenge.
Here's a suggestion to fix accessibility issue.
All page content should be contained by landmarks
: Use footer tag. For details click on this<footer>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge"
target="_blank">Frontend Mentor</a>.
Coded by <a href="https://www.frontendmentor.io/profile/cma124">Chan Myae Aung</a>.
</div>
</footer>
Hope this helps :)
@Haseebullah555
Submitted
I solve this challenge, But I want your advices in cause of providing better solutions. Human is fallible and if there is any mistake in my solution please tell me and I will make mistakes in solving new challenges.
@Harshi786
Posted
Hey @Haseebullah555
Congrats on completing the challenge.
Here are some suggestions to fix the accessibility issues.
Heading levels should only increase by one
: Headings should be in order. Use <h1>
in place of <h4>
. For details read
Links must have discernible text
: Use aria-label element. Example <a href="#" class="fa fa-facebook" aria-label="facebook profile></a>
. For details click on the link
Hope this helps :)
Marked as helpful
@Tucznik2
Submitted
Hi guys, I've just completed this challenge and I would like some advice about things to improve.
@Harshi786
Posted
Hey @Tucznik2
Congrats on completing the challenge.
Here are some tips-
For background image, use body{background-size:contain;}
You can add a nice shadow effect on payment button. .payment-button{ box-shadow: 0 20px 20px 0 rgb(56 42 225 / 19%); }
For accessibility issues:
<main>
tag.
<main class="wrapper">
//......
.......//
</main> ```
<footer>
<div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="https://github.com/Tucznik2">Filip Kula</a>.
</div>
</footer>
If it really helped you then please mark it helpful. Thanks
Marked as helpful
@fendiya
Submitted
@Harshi786
Posted
Hey fendiya!
Congratulations on completing the challenge.
Your code looks good but few more tips to make it perfect.
body {
background-image: url("images/pattern-background-desktop.svg");
background-repeat: no-repeat;
background-size: contain;
background-color:hsl(225, 100%, 94%);
font-family: "Red Hat Display", sans-serif;
font-size: 16px;
color: hsl(224deg, 23%, 55%);
line-height: 1.5rem;
width: 100vw;
height: 100vh;
}
For Payment button, Add box-shadow. .btn { box-shadow: 0px 10px 20px hsl(245, 75%, 52%, 0.5);}
Add box-shadow to Card as well. .card {box-shadow: 0 40px 40px -20px rgba(13, 48, 189,0.15);}
Hope this helps :)
@east2k
Submitted
@Harshi786
Posted
Hey!
Congrats on completing the challenge.
Here are some tips for your image and accessibility issue,html issues:
Always call image with alt attribute. <img src="./images/image-header-desktop.jpg" alt="Card Image">
.
Change background color in this:
.image-filter {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 540px;
height: 446px;
background-color:var(--soft-violet);
}
img {
mix-blend-mode: multiply;
opacity: 0.75;
}
If it really helped you then please mark it helpful. Thanks :)
@MioMauro
Submitted
suggestions welcome!
@Harshi786
Posted
Hey!
Congrats on completing the challenge.
Here are few more tips from my side.
Try using em/rem value units instead of pixels. Avoid using fixed values for image div.
You can work more on image by adding mix-blend-mode CSS property.
.container .photo img{
width: 100%;
height: 100%;
mix-blend-mode: multiply;
opacity: 0.75;
}
Hope this helps :)
Ignored tags. Need Help, in the img: How i can to have the color same of challenge in css?
@Harshi786
Posted
Hey!
Congrats on completing the challenge.
Your code looks good but few more tips to make your image looks perfect:
-Separate CSS properties for div and image.
.imgBox {
background-color:hsl(277, 64%, 61%);
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
img {
width: 100%;
height: 100%;
mix-blend-mode: multiply;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
opacity: 0.75;
}
Hope this helps :)
Marked as helpful
@tmoris
Submitted
hello community, I need some advise on this challenge. I found difficult to blend the background color and image, secondly controlling the image so that i does shrink fast to disappearance was and issue. Best regards and thanks
@Harshi786
Posted
Hey!
Congrats on completing the challenge.
Your code looks good but few more CSS properties to make your image looks better.
.preview-img {
mix-blend-mode: multiply;
border-radius: 0.5em 0.5em 0 0;
min-height: 100%;
opacity: 0.75;
}
.preview-img-section {
background-color: var(--clr-Softviolet);
border-radius: 0.5em 0.5em 0 0;
}
Hope this helps :)
It was a fun project. I am revising my HTML and CSS knowledge, and this was a perfect project to do so. Feel free to suggest anything you think I can improve.
@Harshi786
Posted
Hey!
Congrats on completing the challenge.
Your solution looks good but few more tips to make it perfect.
<main>
tag.<footer>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge"
target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Md.Shamrat Hossain</a>.
</div>
</footer>```
If it really helped you then please mark it helpful. Thanks
@Zinah-Zwayen
Submitted
Please have a look at my solution I need help to adjust the "border button" when active, I can't find the right solution to fix it?
@Harshi786
Posted
Hey! Congrats on completing the challenge.
Here are some tips-
You can give shadow effect under border button and the main card.
Intead of .pay:hover{ background-color: hsla(245, 75%, 52%, 60%); border-color: hsla(245, 75%, 52%, 60%); cursor: pointer; }
, you can just reduce opacity .pay:hover { opacity:0.75; cursor:pointer;}
You can give hover to cancel order and change.
Fix your accessibility issues.
<main>
tag.<h1>
heading in your code. <h1> Order Summary </h1>
.<h1>
then use <h2>
, <h3>
for better coding.<footer>
<div class="attribution">
Challenge by<a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor.</a>
Coded by<a href="#">Zinah zwayen</a>.
</div>
</footer>
.pay:active { background-color: red; border-color: red; }
Hope this helps :)
Marked as helpful
@yousra10
Submitted
Hello friends!
It's the second time I do this challenge to improve my skills. I have difficult to put correctly my website on Github, when I write it on Atom, the website run but didn't run on Github. What I learned :
Thank you guys for your comments and advice !! happy coding !!
@Harshi786
Posted
Hey! Congrats on completing the challenge.
Here are some tips-
Put background image in images folder. then use body:{background:url(./images/pattern-background-desktop.svg),hsl(225, 100%, 94%); background-repeat: no-repeat;}
Use <a href=""><a/>
tag or <button></button>
tag for cancel order button.
Hope this helps. :)
Marked as helpful
@yud11z
Submitted
All feedbacks are welcome, thanks in advance.
@Harshi786
Posted
Hey! Congrats on completing the challenge.
Your solution looks good but few more tips to make it perfect.
For background image, Change background size from cover to contain.
body {background-size:contain;}
Add hover to links and buttons.
a:hover { text-decoration: none; opacity: 0.8; }
.btn-pay:hover { opacity: 0.8; cursor: pointer; }
.btn-cancel:hover { color: #1f2f56; cursor: pointers; }
Try mobile view as well.
Hope this helps.
Marked as helpful
@YoshiiCoding17
Submitted
My second Project. I appreciate feedbacks
@Harshi786
Posted
Hey! Congrats on completing the challenge.
Your code looks good but few more tips to make it perfect:
For background image, change
body: { background-size: contain; background-position: top; }
Add hover to cancel order button.
.pagos__cancelar:hover { color: #1f2f56; }
Hope this helps :)
Marked as helpful
@Hazel-Black
Submitted
This was a team effort by me and @michealhybrid we would both love any and all feedback
@Harshi786
Posted
Hey!
Congrats on completing the challenge.
As everyone has already given good feedback, I will give you just one tip about the image.
background-blend-mode: multiply;
, take another div color it
:root { --Softviolet: hsl(277, 64%, 61%); }
and then blend that div with image by using mix-blend-mode:multiply;
CSS property.Hope this helps. :)
Marked as helpful
@jokings
Submitted
Hello, guys. Just updated this. Any feedback is welcome Thanks
@Harshi786
Posted
Hey! :)
Add mix-blend-mode CSS in image and change opacity from 0.5 to 0.7.
.img1 {
mix-blend-mode:multiply;
opacity: 0.7;
}
Hope this helps.
Marked as helpful