I'm a Software developer - (Frontend) and I create interactive web applications using frontend technologies, keeping in mind the user experience and the best web standards. Also I love learning about new technologies and sharing my own knowledge with others.
I’m currently learning...Typescript React Native Docker Node.js
Latest solutions
Latest comments
- @brasspetalsSubmitted about 3 years ago@jomefavouritePosted almost 3 years ago
Hello Anna!
I really love how you take your time to make the layouts of each project you've done pixel-perfect, and also add really smooth animations. I wish I spent more time on animations 😅
Welcome back to coding!
1 - @comfort-deolaSubmitted over 3 years ago@jomefavouritePosted over 3 years ago
Hi Adeola, nice solution.
The email validation is okay, using just HTML to validate is fine. I guess you could change the text alignment to
left
when you're on desktop view by adding a media query.0 - @AgataLiberskaSubmitted almost 4 years ago
- @Dike-CodeSubmitted almost 4 years ago@jomefavouritePosted almost 4 years ago
Hello Clinton, you did a very good job on your first challenge and here're my suggestions.
-
I noticed that the
section
element with the class namesite
has adiv
element with an image element with nosrc
attribute link which produces an unnecessary space in the layout. I suggest removing thatdiv
element. -
Also, I suggest applying a
max-weight
property to the paragraphp
elements in other for the text not to be stretched out on bigger screens. -
Also the images, should have a
max-weight
property applied. For example:
.device_showcase .device { width: 75%; max-width: 1000px; }
The
max-weight
property prevent the image from growing along with the viewport when that max weight is reached.- Finally, I'll suggest following a much better semantic layout structure. I noticed you didn't include the
main
element. Well, this is my personal structure though. Example below
<header>...</header> <main>...</main> <footer>...</footer>
0 -
- @priyankaladSubmitted almost 4 years ago@jomefavouritePosted almost 4 years ago
Very good solution, it's very close to the design.
-
Adding a max-width to the selector
.mobile-flex-item
would fix it from growing. You could trymax-width: 350px;
.
top: 100%
simply means that the element should be at the bottom of the viewport.
Think of it like you want white space to be at the top of the viewport, so you assigned a value of 100%, which pushes the element to the bottom.
bottom: 100%
is the opposite, so the element would be at the top of the viewport.right: 0%
simply means there shouldn't be any white space left on the right side of the screen. So therefore the element should occupy that white space, that's why the element moves to the right.
- It depends, there isn't one right way of achieving a responsive design. I noticed you use percentages along with the values in your margin/padding to achieve the device. I'll try to avoid using percentages though, it could cause some issues on smaller issues but ah, you pull it off.
Keep on coding, I hope my explanations were simple enough.
0 -
- @priyankaladSubmitted almost 4 years ago@jomefavouritePosted almost 4 years ago
Very good solution, it's very close to the design.
-
Adding a max-width to the selector
.mobile-flex-item
would fix it from growing. You could trymax-width: 350px;
.
top: 100%
simply means that the element should be at the bottom of the viewport.
Think of it like you want white space to be at the top of the viewport, so you assigned a value of 100%, which pushes the element to the bottom.
bottom: 100%
is the opposite, so the element would be at the top of the viewport.right: 0%
simply means there shouldn't be any white space left on the right side of the screen. So therefore the element should occupy that white space, that's why the element moves to the right.
- It depends, there isn't one right way of achieving a responsive design. I noticed you use percentages along with the values in your margin/padding to achieve the device. I'll try to avoid using percentages though, it could cause some issues on smaller issues but ah, you pull it off.
Keep on coding, I hope my explanations were simple enough.
0 -