@kenreibman
Submitted
Going to keep updating this calculator, there are a few bugs. Any feedback would be greatly appreciated.
Looking to hire developers?
@kens-visuals
@kenreibman
Submitted
Going to keep updating this calculator, there are a few bugs. Any feedback would be greatly appreciated.
Hey @kenreibman 👋🏻
I looked at your code and I can see what you're missing. You're missing validation, if you take a look at my solution you'll see that you can't input letters, a bunch of zeros, symbols, and invalid value in general. In your case, you're only checking if the input is filled then calculate the number, but you need to consider the edge cases. Other than that, everything looks and works perfectly. Nice job, and sorry for the late response.
Marked as helpful
@kenreibman
Submitted
Wow, this took so long to make. After countless hours of studying JavaScript, watching crash courses and tutorials. I was finally able to create a simple pop-up on a page.
I'm very confident in HTML and CSS now, especially Flexbox. I hope I can have challenges that push me to utilize more CSS Grid. I also appreciate the challenge and countless hours of studying I went through to learn a little JavaScript.
I am still in the learning process of vanilla JavaScript, and I know the code I wrote for the pop-up is not exactly the cleanest. If anyone has feedback on how I can make the code cleaner, or acceptable for the industry, I would greatly appreciate any sort of feedback that you give me out of your time.
Hey @lmaoken 👋🏻
I took a look at your JS as you asked, and here are some suggestions:
document.querySelector('')
each time. For example:const btn = document.querySelector('.btn__share');
of course you should use more descriptive names, this was just a demonstration.
.style
it adds inline styling, and then it's pretty much stuck in your HTML, unless you refresh the page, so it would be a lot better to implement those styles in CSS then play with the classes in JS.I hope this was helpful 👨🏻💻 other than that, you did a superb job, I knew you got this and this is just the begging. You've got a lot to do and to practice, but you'll get there, trust me. Cheers 👾
Marked as helpful
@chaman-rawat
Submitted
When I was using Firefox and Chrome "Responsive design mode" I do not get the accurate device width. It was slightly larger than the actual pixel width I set. So is there any method or workaround to get accurate screen size?
Hey @chaman-rawat 👋🏻
I've got some feedback for the project.
aria-hidden="true”
, because they're for decoration. You can read more about aria-hidden
here. For example:<img src="images/icon-team-builder.svg" alt="Team Builder">
margin
s especially when you're trying to center them. Both Flexbox and Grid have things like align-items
, justify-content
, etc. you should use them for positioning.width
.I hope this was helpful 👨🏻💻 other than that, for the first project you did a great job, well done. Cheers 👾
Marked as helpful
@AbhijitSarode
Submitted
Primary focus of this project was to practise flex-box. Your feedback is most appreciated
Hey @AbhijitSarode 👋🏻
I've got some suggestions to help you fix the accessibility and HTML issues.
<div class="card">...</div>
should be <main class="card">...</main>
. This will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues.alt
tag, something like, alt="happily dancing girl"
aria-hidden="true”
, because it's for decoration. You can read more about aria-hidden
here.srcset
attribute is not used, it should be removed, otherwise it causes some errors. So the image tag should look something like this:<img src="/images/icon-music.svg" alt="" aria-hidden="true">
transition: all 0.2s;
to the button and the links, this will make :hover
smoother.display: block;
, it removes the line underneath the image. If you want to know what's causing it, check out the 3rd section of this video.<h2>
or <p>
instead of <h4>
, because headings in HTML have to increase gradually, such as h1, h2, h3….
.li
is only allowed in ul
as a list item, so you should remove it from <a>
tag.I hope this was helpful 👨🏻💻 all in all, for the second project, you did a good job. Cheers 👾
Marked as helpful
@CleanCoderK
Submitted
Warmly welcome for any comment
Hey @green-cyber 👋🏻
Unfortunately, we cannot see the site. Perhaps, something wrong with the link or the GitHub pages. Please fix the link, so the community can give some feedback.
I hope this was helpful 👨🏻💻 Cheers 👾
Marked as helpful
@dex1989
Submitted
that is my first proect, i just stat to code for the project i use html5 and css i have use visual studio for write the code. Every comment and advice is welcome to improve myself.
Hey @dex1989 👋🏻
I've got some quick tips to help you fix the accessibility and HTML issues.
<h2>
or <p>
instead of <h4>
, because headings in HTML have to increase gradually, such as h1, h2, h3….
.dex1989</a>. --7>--></html>
is causing some HTML issues, just because you didn't put the closing comment tag correctly, so the solution would be to either remove the code or remove the comment tags.display: block;
, it removes the line underneath the image. If you want to know what's causing it, check out the 3rd section of this video.aria-hidden="true”
, because it's for decoration. You can read more about aria-hidden
here. Like this:<img src="./images/icon-music.svg" alt="" aria-hidden="true”>
transition: all 0.2s;
to the button and the links, this will make :hover
smoother.I hope this was helpful 👨🏻💻 other than that, you did a good job for the first project, nicely done. Cheers 👾
Marked as helpful
Any tips and feedback are welcome.
Hey @muhabibta 👋🏻
I have some suggestions to help you fix the accessibility issues and some other things.
<div class="container">...</div>
should be <main class="container">...</main>
and this will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues.<h2>
or <p>
instead of <h4>
, because headings in HTML have to increase gradually, such as h1, h2, h3….
.body {
font-size: 16px;
font-family: "Karla", sans-serif;
background-color: var(--Light-gray);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
and once you do this, you can remove margin: 8% auto;
from .container
.
I hope this was helpful 👨🏻💻 overall, you did a nice job, keep it up. Cheers 👾
@FlorianJourde
Submitted
So, my main question would be : how to use container by the same way bootstrap do ? I mean, I definided some width
to my page to be as close as the design at possible, but I guess it would be better if my colors continue on right and left, instead of this black background. How can I define a nice wrapper in native HTML/CSS ?
Also, I wanted to animate my toggle burger-menu, but I struggled because of display: block
... any suggestions ?
However, pretty interesting and real-sized exercice ! Liked it, altrough it was a bit long !
Hey @FlorianJourde 👋🏻
I have some suggestions for the project.
ul
and li
for the both nav
s at the top and bottom, also you could put the social media icons in a list as well. Although they don't look like so, but they are lists and it would be semantically more correct to write them like so.aria-hidden="true”
, because it's for decoration. You can read more about aria-hidden
here.alt
tags for the user's images should be their names, like this:<img src="images/image-emily.jpg" alt="Emily R.">
width
, avoid using fixed width
s that's what causing problem here and add those black lines on the both sides on every viewport width. For such big things like layouts, images, etc. the best choice would relative units, such as percentages.I hope this was helpful 👨🏻💻 other than that, you did a pixel perfect job, well done. Cheers 👾
Marked as helpful
@RyanFloresTT
Submitted
Any feedback is greatly appreciated! I only worried about the Desktop Version, going to learn more to see what I can do about the mobile version.
Hey @RyanFloresTT 👋🏻
I've got some suggestions to help you fix the accessibility issues and some other things.
<div class="row">...</div>
should be <main class="row">...</main>
and <div class="attribution">...</div>
should be <footer class="attribution">...</footer>
. These will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues.aria-hidden="true”
, because they for decoration. You can read more about aria-hidden
here. Also, I suggest putting them in <img>
tags, so all together will look like this:<img src="./images/icon-luxury.svg" alt="" aria-hidden="true”>
:hover
state, which you can find in design folder active-state
image, after you implement it you can also add transition: all 0.2s;
to the button and the links, this will make :hover
smoother.
-Lastly, I won't go into details about resetting CSS, but I'll leave this cool article here, which will make more sense than my brief explanation.I hope this was helpful 👨🏻💻 If you want to get better at responsive websites, learn mobile first workflow, there are a thousand of articles about it. All in all you did a nice job, for the second job. Cheers 👾
Marked as helpful
@oswhytecodes
Submitted
Hi all This is my first challenge, and I think I did pretty decent. all that aside, I can't figure out how to perfectly fit the main image inside the div. You can even see I haven't been able to show the top part of the container either. If anyone can help, I am ready for the feedback. Thank you.
Hey @oswhyteknits 👋🏻
I have some suggestions to help you fix the accessibility issues and some other things.
<div class="container">...</div>
should be <main class="container">...</main>
and <div class="attribution">...</div>
should be <footer class="attribution">...</footer>
. These will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues.display: block;
, it removes the line underneath the image. If you want to know what's causing it, check out the 3rd section of this video.<h2>
or <p>
instead of <h5>
, because headings in HTML have to increase gradually, such as h1, h2, h3….
aria-hidden="true”
, because it's for decoration. You can read more about aria-hidden
here. To illustrate:<img src="images/icon-music.svg" alt="" aria-hidden="true”>
border-radius
just add overflow: hidden;
to .container
.:hover
state, which you can find in design folder active-state
image, after you implement it you can also add transition: all 0.2s;
to the button and the links, this will make :hover
smoother.body
:body {
background-image: url(images/pattern-background-desktop.svg);
font-family: Helvetica, sans-serif;
font-size: 16px;
text-align: center;
margin: 0;
width: 100%;
background-repeat: no-repeat;
background-size: contain;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #e0e8ff;
}
I hope this was helpful 👨🏻💻 other than that, you did a great job for the first project, keep it up. Cheers 👾
Hi!!, I'm just trying to improve my css skills. I'd like to know if I did it correctly or if there was a better way to do it
Thanks
Hey @carlosedugoc 👋🏻
I have some suggestions to help you fix the accessibility issues and some other things.
<div class="container">...</div>
should be <main class="container">...</main>
and this will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues.alt
text, in this case it should look like this:<img src="./images/image-jeremy.png" alt="Jeremy Robson">
:hover
state on ellipsis, which you can find in design folder active-state
image, after you implement it you can also add transition: all 0.2s;
to the boxes and ellipsis, this will make :hover
smoother.I hope this was helpful 👨🏻💻 other than that, you did a great job, keep it up. Cheers 👾
Marked as helpful
@merithekid
Submitted
I've only just started doing projects. How can i clean up my code and any practices you would recommend?
Hey @merithekid 👋🏻
Unfortunately, we cannot see the project, perhaps due to a broken link. Please fix the issue, so the community can give some feedback.
I hope this was helpful 👨🏻💻 Cheers 👾
@richardtr123
Submitted
Guys, some advice for the responsive of a grid, the size especially
Hey @richardtr123 👋🏻
I have some suggestions to help you fix the accessibility issues and some other things.
<div class="card">...</div>
should be <main class="card">...</main>
. This will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues.ul li
because it's a list.I hope this was helpful 👨🏻💻 other than that, you did a nice job, especially with responsiveness, nicely done. Cheers 👾
Marked as helpful
@smccourtb
Submitted
Open to any and all comments/critiques!
Hey @smccourtb 👋🏻
I have some suggestions to help you fix the accessibility and HTML issues.
<section class="container">...</section>
should be <main class="container">...</main>
.aria-hidden="true”
, because they're for decoration. You can read more about aria-hidden
here. These will fix the accessibility and HTML issues. Don't forget to generate a new repot once you fix the issues. To illustrate:<img src="./images/icon-luxury.svg" alt="" aria-hidden="true”>
transition: all 0.2s;
to the button and the links, this will make :hover
smoother. And in :hover
add cursor: pointer;
for the finger cursor.position: absolute
to position such big stuff can be tricky and may have some problems on mobile viewport width, and here's how to do it:body {
display: flex;
align-items: center;
font-size: 15px;
font-family: "Lexend Deca", sans-serif;
padding: 0px;
margin: 0px;
min-height: 100vh;
justify-content: center;
}
.container {
display: flex;
width: 38.5rem;
color: hsla(0, 0%, 100%, 0.75);
}
I hope this was helpful 👨🏻💻 other than that, you did a good job, keep it up. Cheers 👾
Marked as helpful
@DummyKen
Submitted
This is my first every challenge taken here so this is not perfect but, I believe this is pretty good. And also in my live website, I happened to use the slate theme from Github pages so the buttons are black and stuff. Nevertheless, I am really glad I took this challenge.
Hey @DummyKen 👋🏻 Ken's here 😅
I have some suggestions to help you fix the accessibility and HTML issues.
<section class="card">...</section>
should be <main class="">...</main>
and <div class="attribution">...</div>
should be <footer class="attribution">...</footer>
. These will fix the accessibility and HTML issues. Don't forget to generate a new repot once you fix the issues.aria-hidden="true”
, because it's for decoration. You can read more about aria-hidden
here. To illustrate:<img src="./images/icon-sedans.svg" alt="" aria-hidden="true”>
transition: all 0.2s;
to the button and the links, this will make :hover
smoother..card
, to fix border-radius
and some other things, so here it is:.card {
display: flex;
flex-direction: row;
width: 700px;
border-radius: 10px;
overflow: hidden;
}
as you can see, I omitted height
because fixed height
prevents your website from being fully responsive. Also, I omitted margin
because I have a different suggestion to help you fix the card in the center.
body {
background: hsl(0, 0%, 95%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
I just used flexbox, which will make sure that on any viewport width, the card is positioned correctly.
I hope this was helpful 👨🏻💻 Other than that, you did a great job for the first project, well done. Cheers 👾
Marked as helpful
@Theguydev
Submitted
Any feedbacks or suggestions would be great thanks!
Hey @Theguydev 👋🏻
I have some suggestions to help you fix the accessibility issues and some other things.
<div class="container">...</div>
should be <main class="container">...</main>
and <div class="header-container">...</div>
should be <header class="header-container">...</header>
. These will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues.aria-hidden="true”
, because they are for decoration. You can read more about aria-hidden
here. For example:<img src="assets/icon-supervisor.svg" alt="" aria-hidden="true”>
<p class="main">...</p>
should have text-align: center;
, especially on mobile viewport width.I hope this was helpful 👨🏻💻 all in all, you did a good job with the project, keep it up. Cheers 👾
Marked as helpful
@amber-jenae-ensley
Submitted
This is my first submitted solution! All feedback is greatly welcome. Does anyone have a good tip or strategy for knowing what to use for your sizing units and when? With the Figma file I was able to know exactly what some heights and widths should be, but for responsiveness, should everything be relative only (like rem, em, percentages, and vw/vh)? Or are using pixels, especially for font sizes, usually okay? Thanks!
Hey @amberensley 👋🏻
I have some feedback for the project.
aria-hidden="true”
, because it's for decoration. You can read more about aria-hidden
here.display: block;
, it removes the line underneath the image. If you want to know what's causing it, check out the 3rd section of this videotransition: all 0.2s;
to the button and the links, this will make :hover
smoother.min-height: 100vh
to the body, and you're good to go.I hope this was helpful 👨🏻💻 to answer to your question, I'd say in my opinion it's good to use relative units for the most of the stuff, because fixed units are not good if you're trying to build a responsive website or even a small component. Other than that, you did a great job with your first project, well done. Cheers 👾
Marked as helpful
@QZheng16
Submitted
Learn decent bit from this challenge. Just have a question about what's the best way to program an responsive website. Is it better to handle the element layout's responsive end using media queries or should I try to make sure that it's mostly handle by for example flexbox. A example will be I used media query to change the flex-direction from row to column on certain elements when it reach an min-width. I also thought that I could of done it using flex-wrap, which will handle the layout when it changes from mobile to desktop. I guess my question is does this matter for best practices sake or is it as long as it works kind of situation?
Hey @QZheng16 👋🏻
I have some suggestions to help you fix the HTML issues and some other things.
img
it should be picture
in this case, since you're using responsive images. Also, add aria-hidden="true”
, because it's for decoration. You can read more about aria-hidden
here. So all of this should look like this:<picture>
<source srcset="images/image-header-mobile.jpg 400w"
media="(max-width: 400px)">
<img src="images/image-header-desktop.jpg" alt="" aria-hidden="true”/>
</picture>
I hope this was helpful 👨🏻💻 other than that, you did a nice job for your second project, keep it up. Cheers 👾
Marked as helpful
@jonaaldas
Submitted
Did really fast and tried to change the color scheme lol
Hey @jonaaldas 👋🏻
Netlify and I have some bad news for you, perhaps you included a wrong link, therefore, we cannot see your website. Please fix the link, so the community can give some feedback.
I hope this was helpful 👨🏻💻 Cheers 👾
@manuellnanor
Submitted
would appreciate reviews on this project. Thanks
Hey @manuellnanor 👋🏻
I have some suggestions to help you fix the accessibility issues and some other things.
<div class="container">...</div>
should be <main class="container">...</main>
and <div class="attribution">...</div>
should be <footer class="attribution">...</footer>
. These will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues.aria-hidden="true”
, because it's for decoration. You can read more about aria-hidden
here. For example:<img src="./images/icon-luxury.svg" alt="" aria-hidden="true”>
transition: all 0.2s;
to the button and the links, this will make :hover
smoother.I hope this was helpful 👨🏻💻 Other than that, you did a great job, nicely done. Cheers 👾
Marked as helpful
@Saaqlainn
Submitted
Any feedback or suggestion would be appreciated.
Hey @Saaqlainn 👋🏻
I've got some suggestions for the project.
@media queries
to put min and max width, when I open the website I see it in mobile viewport width. I have to change my screen size to see the desktop layout. What I suggest is to choose either build it with desktop first layout max-width
or mobile first min-width
.aria-hidden="true”
, because they are for decoration. You can read more about aria-hidden
here. For example:<img src="images/icon-luxury.svg" alt="" aria-hidden="true">
transition: all 0.2s;
to the button and the links, this will make :hover
smoother.I hope this was helpful 👨🏻💻 Other than that, you did a great job, well done. Cheers 👾
Marked as helpful
@Yazdun
Submitted
Hello my fellow developers ! Here is my solution for this challenge with a extra feature :
grid
to position cards.And I have some questions :
It's first time I'm adding dark-mode to my project and I was very unfamiliar and had to do a lot of research, What are best practices to create dark mode using sass ? Is my approach any good ?
This should've loaded initial theme based on user's OS theme, But it seems like It's not working after deployment, does it work for you?
Can you switch themes or is my solution broken ? 😐
✅ Let me know your thoughts and feedbacks on this
Hey @Yazdun 👋🏻
I've got some feedback for the project.
aria-hidden="true”
, because they are for decoration. You can read more about aria-hidden
here. For example:<img class="card__icon" src="./images/icon-team-builder.svg" alt="" aria-hidden="true”>
<div class="header"></div>
should be <header class="header"></header>
Now what comes to the questions:
I hope this was helpful 👨🏻💻 Cheers 👾
Marked as helpful
@LeandroA98
Submitted
Feedback will be nice.
Hey @LeandroA98 👋🏻
I have some suggestions to help you fix the accessibility and HTML issues.
aria-hidden="true”
, because it's for decoration. You can read more about aria-hidden
here. Like this:<img src="./images/image-header-mobile.jpg" alt="" aria-hidden="true”>
type='./image/png'
it should be type='image/png'
.<section>
, I suggest using regular <div>
for a couple of reasons. First, when you use a <section>
you have to have a heading, like h2-h6
. Next, <section>
is for bigger parts of a layout, such as, contact us about us, image gallery, etc. These will fix the HTML issues, just don't forget to generate a new repost once you fix them.I hope this was helpful 👨🏻💻 other than that, you did a great job especially with responsiveness, keep it up. Cheers 👾
Marked as helpful
@zitescody
Submitted
Please provide feedback!
What can I do to do better?
Hey @zitescody 👋🏻
I have some suggestions to help you fix the accessibility and HTML issues.
<div class="container">...</div>
should be <main class="container">...</main>
and <div class="attribution">...</div>
should be <footer class="attribution">...</footer>
. These will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues.<=`` head=``
role=`img`
role=`button`
I'm not sure what the first one is, but here's a **link to learn more about role=""
aria-hidden="true”
, because they are for decoration. You can read more about aria-hidden
here. To illustrate:<img src="images/icon-luxury.svg" alt="" aria-hidden="true”>
border: 1px solid transparent;
to your button
s, so initially the buttons will have some border and only during :hover
they will change their color. Once you add it you'll see the difference.body {
background-color: var(--verylightgray);
font-size: 15px;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
I hope this was helpful 👨🏻💻 other than that, you did a good job for your second project, nicely done. Cheers 👾
Marked as helpful