My first challenge. I choose to use two stylesheets, one for desktop and one for mobile. Furthermore I choose to give everything fixed widths in pixels, so it doesn't distort when the size is adjusted. Is that normal practice?
Miquel
@mrjayy5All comments
- @IdodeHaanSubmitted about 4 years ago@mrjayy5Posted about 4 years ago
Hi Ido,
Nowadays most people use different devices to browse websites. You don't know the exact dimensions. So it's common now that we use adjustable widths, so the website can be viewed with any size.
This will give you more information about responsive design.
Keep on coding π₯!
2 - @migmccSubmitted about 4 years ago
Hello all,
here is one more solution for newbies. IΒ΄ve already applied some of the comments that I receive from last project.
@mrjayy5Posted about 4 years agoHi Migmcc,
Your HTML structure is perfect. No comment about that ππΌ
You probably need the most work on your CSS.
- CSS Introduction. This site has a lot of information that will help with your CSS skills.
- This complete guide to Grid might help you as well.
I hope you can find some solution to make this project even better!
Keep on coding π₯!
1 - @deanhopesSubmitted about 4 years ago
Using feedback from my last submission I have focused on writing semantic HTML as well as reducing the amount of CSS that I write.
Also, the first time I've tried matching the design without the PixelPerfect extension.
Please leave feedback if you find anything I can improve on it.
Cheers.
@mrjayy5Posted about 4 years agoHi Dean, great job! It's even a match without PixelPerfect ππΌ!
Your HTML is semantic almost perfect. The only suggestion I have is that you use
h3
beforeh2
. I made this mistake myself sometimes!Also there is still a little bit of redundant code. You might find this usefull:
<header class="singleprice__header"> <h2>Monthly Subscription</h2> </header> <header class="singleprice__header"> <h1>Join our community</h1> <h2 class="yellow">30-day, hassle-free money back guarantee</h2> </header> .singleprice__header { h1 { ... } h2 { ... &.yellow { ... } } }
Nevertheless, great work! Keep on coding π₯!
2 - @darrenevans81Submitted about 4 years ago
This is my first project. Any feedback around my code would be much appreciate!
@mrjayy5Posted about 4 years agoHi Darren,
How was working on your first project?
I think you did a great job! Working with Bootstrap is (still) a nice to have for a lot of employers. But for small projects I think it's a downside, because it's has to load the entire bootstrap framework and you will only use a small part of it.
You can speed up this page by using only Gridbox and Flexbox instead of bootstrap.
The only thing I can suggest on your code is your indent. A good use of indent ensures a readable structure. Minor indent mistakes in your CSS as well.
Keep on coding π₯!
1 - @Yemisrach15Submitted about 4 years ago
-
Anybody knows how to repeat the star multiple times (without inserting the image 5 times in the html) ? I tried using
background-repeat: space
but it doesn't let adjust the space between the stars. -
How is it overall? I feel like I've written too many lines of css code.
@mrjayy5Posted about 4 years agoHi Yemisrach, I love your work ππΌ!
You have a great eye for detail I can see π! I like to see how you handled the responsiveness, great work!
-
I think you should try to make a
.star
element in your CSS and replace theimg
's with<div class='star-icon'></div>
. This way the page only need to download the SVG once. But you still have to insert the element 5 times. -
I think the HTML is pretty clean. Good indent, so it's nice to read. You should consider using Sass. It can reduce the lines of CSS significantly and it's easier to maintain. So especially for bigger projects it's a must have!
Keep on coding π₯!
1 -
- @Senpai013045Submitted about 4 years ago
any suggestions will be appreciated
@mrjayy5Posted about 4 years agoHi Senpai! Great work, the API is working ππΌ!
I can only suggest to spend a little bit more time on your
margin
s,padding
s andfont-size
. It will help to make this project looks more like the design.Keep on coding π₯!
0 - @blade-01Submitted about 4 years ago
Feedbacks are welcomed π€
@mrjayy5Posted about 4 years agoHi Animashaun!
I've been working on the same project this day π!
You have a great start. It looks like you started mobile first. Your mobile version is quite perfect. I like that! And you JS is nice and clean!
I think you should spend a little bit more time to make this project fully responsive. Using Gridbox in combination with Flexbox can help you a lot! And since your JS is perfect, try to add the keyboard arrows to control the slider.
Keep on coding π₯!
1 - @LAGAxyzSubmitted about 4 years ago@mrjayy5Posted about 4 years ago
Nice job! Overall it's really close.
The only thing I would recommend is to use headings. The big text: '10.000+ of our users love our products.' should be a
H1
and don't use<br>
to break the words. Just give theH1
tag a specificwidth
.And don't forget to assign an
alt
tag to each image ππ½Marked as helpful1