I'm a 12th-grade student from India 🇮🇳, learning web development. Currently, I know HTML,CSS and some basic Javascript. 😃
I’m currently learning...I am currently learning the core concepts of JavaScript to make my websites interactive and usable.
Latest solutions
Responsive Loopstudios Landing Page with HTML, SCSS, JS and Vite
#accessibility#sass/scssSubmitted 11 months agoI would like to know how responsive it is on your devices. How to improve my JavaScript and build better and accessible websites.
Any suggestions on how I can improve are welcome! 😄
Responsive NFT Preview Card [HTML, SCSS, Parcel Bundler]
#parcel#sass/scss#bemSubmitted 11 months agoAny suggestions are welcome!
Profile Card Challenge with Vanilla HTML,CSS 🎉
#viteSubmitted 11 months agoAny recommendations are welcome!
Responsive Insure Landing Page w/ Expandable Navigation[HTML,SCSS,JS]
#bootstrap#vite#sass/scssSubmitted 11 months agoAny suggestions are welcome!
Responsive Easybank Landing Page 💚 [HTML, SCSS, JS, Vite]
#vite#sass/scssSubmitted 11 months agoI have done my best in creating this project. As a beginner, your feedback is extremely valuable to me.
Any suggestions are welcome! 😃
Responsive Manage Landing Page | HTML, SCSS with interactive Carousel
#accessibility#sass/scss#vite#bootstrapSubmitted 11 months agoAs a beginner, I still have lots to explore and learn. This project has made me realize how much I need to learn. I'm looking forward to your valuable feedbacks on how I can create visually better and accessible websites.
Any suggestions on how I can improve are welcome! 😊
Latest comments
- @tariq063@Code-Beaker
- @Stryde2022What are you most proud of, and what would you do differently next time?
so far, this is the fastest i have completed anything on here, i am super happy of that.
What challenges did you encounter, and how did you overcome them?N/A
What specific areas of your project would you like help with?As i said, this is my best so i want alot of criticisms so that i know how i can get better. Please criticisms are welcomed
@Code-BeakerHey there. Congratulations on completing this challenge. I'm sure you must've had fun playing around with your HTML and CSS knowledge! 🎉
I have visited your live site and checked the source code. I have come to notice that while focusing on the looks of the site, you need to make sure you use the most appropriate tags for each element.
- The buttons in this case are links that are styled like buttons. It is better to use
a
tags when creating links like these. - Use
min-height: 100vh
instead ofheight: 100vh
. Using just theheight
will prevent the page's vertical height on mobile phones and smaller devices. - Instead of
px
, userem
values which are more responsive and easier to handle. - Use CSS Variables to make your code more re-usable. You can assign a name to a property and call use that property by that name.
- Your site isn't responsive for mobile so you can try out media queries and optimise it to be viewed on phones.
That's all I've wanted to point out. I hope this helps you improve your solution.
Happy coding! 😄
Marked as helpful - The buttons in this case are links that are styled like buttons. It is better to use
- @aymanbajar@Code-Beaker
Hi 👋 Good job completing the challenge. I want to share some of my suggestions for improving your solution.
- Use colors with good contrast to make it readable. The links are not clearly readable because it's black inside grey.
- You don't need to use all that unnecessary JavaScript in this project. Simply use the
<a
tag to create all those links. Something like this:
<ul> <li><a href="#">GitHub</a></li> <li><a href="#">Twitter</a></li> ... </ul>
- You could minimize the use of
br
tags by using adisplay: flex
on theul
element and adding agap: 1rem
. - There's a typo in the project title: "Social medai" -> media
- Make sure heading tags decrease one by one.
h1 h2 h3 ... ...
This is essential for the accessibility of the website.
- Instead of
px
, you can use eitherrem
orem
to make responsive layouts easier for you. - Use class selectors instead of tag selectors. Tag selection can mess up your code when you're dealing with large projects.
- Use CSS Variables or Custom properties to make your CSS reusable.
I hope this helps you learn something new! 🤝
- @artasvest@Code-Beaker
Hi friend! 👋 Congratulations on completing this challenge 👏🥳
I have noted down a few points while I visited your website and source code and I would like to share it with you and help you improve your solution.
- Instead of using pixels, use relative units like
rem
to make it easier to make the website responsive for different screens. - There's no need of these lines of code:
body { width: 100%; height: 100%; }
The
body
element already takes the full width and height of the document and hence it doesn't make any difference. Same applies to themain
element.- The links should be wrapped in
a
tags and notbutton
tags. They're meant to be links that take you to an external website. Right now, they're set to be buttons and do not serve their actual purpose. - You can use CSS Custom Properties and avoid writing the same thing again and again for CSS properties. Here's a guide on Getting started with CSS Custom Properties
- NEVER set
font-size
in pixels. Read this.
That's what I've got for you. I hope you found these helpful! 😊
Marked as helpful - Instead of using pixels, use relative units like
- @safyabdelrahem@Code-Beaker
Hi there, congratulations on completing the challenge. You've done a good job with this one... 🥳
I have taken a look at your live preview and source code. Let me share some of my suggestions to help you improve your current solution.
- Use
class
for styling components rather than the element/tag selector. When working on big projects, classes can be a lifesaver. Using tags can make it complex and confusing as it applies to all instances of the specified tag. - The "Change" link should not be wrapped inside
p
tag. It is a link and should only be wrapped in ana
tag. - You can have the buttons use the same font as the rest of the body by using an inherit in the CSS:
body { font-family: "Red Hat Display", sans-serif; } button { font-family: inherit; }
- There's an easier way to center something vertically and horizontally on a page by using
display: flex
:
.container { display: flex; justify-content: center; align-items: center; }
But, you need to move the card's elements into a new container.
<div class="container"> <div class="card"> ... EVERYTHING INSIDE THE CARD GOES HERE ... </div> </div>
- Import Google Fonts inside the HTML. This is better for the website's performance.
- Use CSS Variables/Custom Properties to improve reusability across your CSS. Here's how you can create variables:
:root { --font-main: "Roboto", sans-serif; --weight-light: 300; --weight-regular: 400; --weight-bold: 700; --color-white: #fff; --color-black: #000; }
Learn more about variables here
- Never* use pixels to set your font size. Here's why
Hope you find these helpful in improving your solution, Happy coding! 😄
Marked as helpful - Use
- @Error-at-nightWhat are you most proud of, and what would you do differently next time?
I'm proud I also able to solve the challenge and finally put RTK query into practice. If I'm to solve the challenge next time, I will build it as a full stack project, right now I'm just using json-server to generate endpoints
To start this application run the following command (in your terminal) in the project directory
- npm install
- npm install json-server (if you don't have json-server installed)
- npm json-server --watch data/data.json --port 8000
- npm run dev
@Code-BeakerHi there, congratulations on completing this challenge... 🥳
I visited your live preview and unfortunately it throws the error "Could not fetch the comments".
I hope you will look into it and fix the issue. Good luck! 😄