Any feedback is appreciated. Is there a way to change only the text color of the logo SVG, or is the dark mode logo missing? Also, is there a better way to fetch data, toggle states, and handle dark mode?

Rebecca Padgett
@bccpadgeAll comments
- @KapteynUniverseSubmitted 16 days agoWhat specific areas of your project would you like help with?@bccpadgePosted 16 days ago
Hi there! You can change the fill color of the svg.
0 - @jharshavardhan2003Submitted about 2 months ago@bccpadgePosted about 2 months ago
Hi jharshavardhan2003
Congratulations on completing this challenge!!! 🎉
HTML 📃:
- Ensure every website has at least one landmark like a
<main>
tag. - Use the
<footer>
tag for attribution. - Replace
<div>
with<main>
for wrapping your content. - Upload your images to the GitHub repository to display them on the page.
CSS 🎨:
- Flexbox and CSS Grid are two CSS layouts that help you center your content on the page.
body{ display:flex; justify-content: center; align-items: center; min-height: 100vh; }
body{ display:grid; place-content: center; min-height: 100vh; }
- Also you can remove the
padding
on the body and you can apply amax-width
on your.container
class so you don't have implement a media query.
I hope you find this useful. Don't hesitate to reach out if you have any questions. Keep up the great work!!
1 - Ensure every website has at least one landmark like a
- @MoisesAlfar0oSubmitted 3 months agoWhat are you most proud of, and what would you do differently next time?
Nothing to say! :)
What challenges did you encounter, and how did you overcome them?Well, it was the images in the body; I didn't know how to add them and position them, but in the end, I sort of managed to do it. I found two ways: one using background-image and the other with the <img> tag, but one is fully responsive from the start, and the other isn't.
Another thing was how to set the profile image as requested. In the end, I managed to do it, and I hope it's okay. :)
What specific areas of your project would you like help with?Any feedback! :)
@bccpadgePosted 3 months agoHi!
Congrats on completing the challenge! 🎉
HTML Tips:
- Enhance accessibility with
<article>
and<section>
tags. - Avoid excessive
<div>
usage as it fails to clarify content. - For stats, wrap content using a
<ul>
:
<ul> <li> <strong>80k</strong> <p>Followers> </li> <ul>
Using a
<ul>
(unordered list) tag is beneficial for structuring stats because:- Semantic Meaning: It clearly indicates the content is a list, enhancing accessibility for screen readers.
- Consistency: Ensures uniform formatting of list items.
- Styles and Formatting: Easily customizable with CSS for a consistent design.
- SEO Benefits: Improves search engine optimization by using semantic HTML elements.
In short,
<ul>
tags create well-structured, accessible, and consistent content presentation.I hope you find these tips useful! If you need any clarification, I'm glad to help. Keep up the great work!
2 - Enhance accessibility with
- @Vijaykumar-MuppirisettiSubmitted 3 months agoWhat are you most proud of, and what would you do differently next time?
Clean, semantic HTML structure using appropriate elements for accessibility.
Responsive design implementation that works across different screen sizes.
Consistent visual styling matching the design requirements.
What challenges did you encounter, and how did you overcome them?Getting the equal-height columns to work properly across different content lengths.
Maintaining button positioning at the bottom of each card.
Ensuring the responsive layout breaks appropriately on mobile.
What specific areas of your project would you like help with?I’m happy to receive any feedback and suggestions for optimizing and improving the code! Always looking to learn and grow. 💡
@bccpadgePosted 3 months agoHi 👋🏼
Your project looks great! I have few tips to improve your solution.
Use Proper HTML Semantic Tags
- Every website must be have at least one landmark like
<main>
tag.- The reason behind using the
<main>
tag because it identifies the primary content of the page.
- The reason behind using the
- Attribution information can be wrapped in a
<footer>
tag<Footer>
tag holds content like the copyright information, authorship information, and contact information just to name few examples.
CSS 🎨:
- You can add the star selector and remove margin and padding as a default CSS Reset
*{ margin: 0; padding: 0 }
-
To remove the scrollbar on desktop, you can adjust your CSS styles.
-
On the
<body>
I used flexbox to center the content the page. and usedposition: fixed
on the attribution so content stays in one place.
body{ display: flex; align-items: center; min-block-size: 100vh; flex-direction: column; justify-content: center; } .container{ max-width: 960px; margin: 0 auto; }
- Inset is shorthand CSS property for top, right, bottom, and left
- Mobile devices you can hide the content and display it on desktop using a media query
.attribution{ position: fixed; inset: auto auto 1rem 1rem; }
Here is my solution to this challenge: 3-column preview component
I hope you find these tips useful! Don’t hesitate to reach out if you have any questions or need further guidance. Keep up the amazing work!
0 - Every website must be have at least one landmark like
- @horoserpSubmitted 3 months agoWhat specific areas of your project would you like help with?
I would appreciate feedback on if there is a way to have both the "button" text and the background JUST under that text be transparent while keeping the rest of the background as it is. Alternatively, is there a way to optimize my CSS so that I don't have to target each button individually:
.category:nth-child(2) .button:hover {
.@bccpadgePosted 3 months agoHi there!
- You don't have to wrap the
<a>
tag in a<div>
and its okay to add CSS styling to the<a>
tag. - Add
aria-label="learn more about sedan cars"
to the<a>
tag to make link more the accessible for screen readers. - Here is an article explain the difference between a
<button>
and<a>
tag
a{ background-color: var(--Very-light-gray); border: 2px solid var(--Very-light-gray); transition all 350ms ease-in-out; } a:hover{ background-color: transparent; color: var(--Very-light-gray); }
In CSS you can add another CSS class like
.button-sadans
to change the button text color.Here is my solution to this challenge: 3 Column preview card component
I hope you find these tips useful! Don’t hesitate to reach out if you have any questions or need further guidance. Keep up the amazing work!
Marked as helpful2 - You don't have to wrap the
- @RahmaBahaaSubmitted 3 months ago@bccpadgePosted 3 months ago
Hi @RahmaBahaa. Congratulations on completing this challenge!!!🎉
Your project looks good so far! I have a few suggestions to improve your solution.**
HTML 📃:
- Every website must have at least one landmark like a
<main>
tag
Example:
<body> <div class="container"><div> <main class="container"></main> </body>
The difference between the
<div>
and<main>
tag is the<div>
is non-semantic element that doesn't explain the content.More info📚:
CSS 🎨:
Flexbox
- You can remove the
padding
because it is not needed.
.container{ display: flex; align-items: center; /*padding: 20px 100px; */ justify-content: center; min-height: 100vh; }
CSS Grid
.container{ display:grid; place-content: center; min-height: 100vh; }
- You can also add
max-width
instead of thewidth
to.leftSection
and.rightSection
so the content will not stretch the page. - Providing a
width
gives elements a fixed width that doesn't change
More info📚:
Here is my solution to this challenge: Responsive Sign up form using HTML, CSS & JS
- The reason why the
background-color
is blue because the title and paragraph meets WCAG AAA accessible text for Color and Contrast fix.
I hope you find these tips useful! Don’t hesitate to reach out if you have any questions or need further guidance. Keep up the amazing work!
Marked as helpful0 - Every website must have at least one landmark like a
- @alaa-mekibesSubmitted 4 months ago@bccpadgePosted 3 months ago
Hi @alaa-mekibes. Congratulations on completing this challenge!!!🎉
Your project look good and the only thing that concerns me is
<div>
for each section of the page.You can fix that using the
<section>
or<article>
tagExample:
<section aria-labelledby="ingredients-title"> <h2 id="ingredients-title">Ingredients</h2> </section> <article> <h2>Ingredients</h2> </article>
More info📚:
Here is my solution to this challenge:Recipe Page
I hope you find these tips useful! Don’t hesitate to reach out if you have any questions or need further guidance. Keep up the amazing work!
Marked as helpful1 - P@kisu-seoSubmitted 3 months ago@bccpadgePosted 3 months ago
Hi @kisu-seo Congratulations on completing this challenge🎉!!
Your project looks amazing!
The only I notice is you are using multiple h1 on the page.
There should only be one h1 on the website.
You can use a h2 and h3 for the other titles.
Don’t use a certain heading level just because you don’t have style it in CSS.
I hope you find this useful. Having questions and need further guidance I’m happy to help.
0 - @hkaur108Submitted 3 months agoWhat are you most proud of, and what would you do differently next time?
I have tried to use correct semantic for my project and tried making it responsive as much as I can using SASS.
What specific areas of your project would you like help with?Any feedback is welcomed to make my project accessible and responsive.
@bccpadgePosted 3 months agoHi @hkaur108. Congratulations on completing this challenge!!!🎉
You are on the right track and need to focus on using semantic HTML tags.
HTML 📃:
- Every website must have at least one landmark like a
<main>
tag. - Wrap your content using the
<main>
tag and attribution info in a<footer>
tag. - Alt Text for Images: Always include descriptive alt text for images. This ensures that screen readers and other assistive technologies can understand what the image represents, making your content more accessible.
Example:
<img src="./images/image-qr-code.png" alt="Scan the qr code to visit frontendmentor.io website">
CSS 🎨:
- Media query does not need to be used in this simple project.
- Look at the
styleguide.md
file that give in the starter files provided from Frontend Mentor with the correct font-family. - Best practice to only apply CSS styles that are needed.
Max-width:100%
anddisplay:block
; are great reset for images in CSS.
Text-algin: auto; is a invalid CSS property. When building these projects be sure to use Developer Tools.
.text-container { width: 100%; text-align: auto; } .text-container { width: 100%; text-align: auto; }
Here is my solution to this challenge: QR Code component
I hope you find these tips useful! Don’t hesitate to reach out if you have any questions or need further guidance. Keep up the amazing work!
Marked as helpful0 - Every website must have at least one landmark like a
- @MarziaJaliliSubmitted 4 months agoWhat are you most proud of, and what would you do differently next time?
Well, I don't know. Maybe speed. Actually I am shown in Wall of fame this week with 110 points, so NOT BAD😎😎.
What challenges did you encounter, and how did you overcome them?I used to set the
What specific areas of your project would you like help with?font-size
for different pages inmedia
queries, but I came accross an interesting function calledclamp
which made my work much easier😁😁.GUYYYYYYYYYYS, I need to scroll to see the entire page while it shouldn't have been like this. Help me out!!!!!!
@bccpadgePosted 4 months agoHi @MarziaJalili. Congratulations on completing this challenge!!!🎉
Your project looks great so far!
On
<body>
you can remove the the default margin and padding..ping-container
keep thepadding-block:3rem
on mobile devices and use a media query to remove the padding-block. The padding-block is the reason you see the scrollbar on desktop.I hope that answers your question.
Marked as helpful0 - P@brandontaylor1Submitted 4 months agoWhat are you most proud of, and what would you do differently next time?
I liked this design overall, nothing currently that I would do differently.
What challenges did you encounter, and how did you overcome them?I didn't encounter any significant challenges.
What specific areas of your project would you like help with?I didn't need any help with this project in particular.
@bccpadgePosted 4 months agoHi @brandontaylor1. Congratulations on completing this challenge!!!🎉
Your project looks good so far!
HTML 📃:
-
Add
alt
text to images for screen readers:<img src="assets/images/avatar-jessica.jpeg" alt="headshot of Jessica Randall">
-
Wrap social media links in a
ul
tag:
<ul> <li> <a href="https://www.github.com">GitHub</a> </li> </ul>
- Use
target="_blank"
to open links in a new tab.
More info 📚:
CSS 🎨:
- To make your solution more like the design, you can change the
<body>
and.container
background color.
body{ background-color: var(--gray-900) } .container{ background-color: var(--gray-800) }
Here is my solution tho this challenge: Social Links Profile
I hope you find these tips useful! Don’t hesitate to reach out if you have any questions or need further guidance. Keep up the amazing work!
1 -
- @soniluviSubmitted 4 months agoWhat specific areas of your project would you like help with?
I'd like to learn to put this on a mobile device so it looks good on 375px screen as well.
@bccpadgePosted 4 months agoHi @soniluvi. Congratulations on completing this challenge!!!🎉
Great job on your project! I wanted to share a few thought that might help you take it to the next level:
- On mobile devices you can
margin-inline:1rem;
on thebody
that sets space on the left and right side.
If you don't want to use Flexbox to center content on the page you can use CSS Grid as well.
CSS Grid in action below ⏬
.container { display:grid; place-content: center; min-height: 100vh; }
More info📚:
Alt Text for Images: Always include descriptive alt text for images. This ensures that screen readers and other assistive technologies can understand what the image represents, making your content more accessible.
Example:
<img src="images/image-avatar.webp" alt="headshot of Greg Hooper">
Heading tags in HTML are so important on webpage, guiding both users and SEO through the content.
Here's a quick breakdown:
-
<h1/>
: Represents the main heading of the page. It's the most important heading and typically used once per page. -
<h2>
: Used for subheadings under<h1>
. -
<h3> to <h6>
: Represent lower-level subheadings, each level down is less critical.
If you don't want to use the
<h1>
as the title use the<h2>
<h1>
can have.sr-only
for screen readersCheck out my solution here: Blog preview card
I hope you find these tips useful! Don’t hesitate to reach out if you have any questions or need further guidance. Keep up the amazing work!
Marked as helpful0 - On mobile devices you can
- @KamalepSubmitted 4 months agoWhat are you most proud of, and what would you do differently next time?
IT'S EASY , I LEARNED DISPLAY AND SAPN
What challenges did you encounter, and how did you overcome them?.
What specific areas of your project would you like help with?.
@bccpadgePosted 4 months agoHi @Kamalep. Congratulations on completing this challenge!!!🎉
Your project looks good. One thing I noticed is the absence of HTML semantic elements. Implementing these can greatly enhance your project in several ways:
- Accessibility: Semantic HTML, such as
<header>
,<nav>
,<main>
,<article>
, and<footer>
, helps screen readers and assistive technologies understand content structure, making your site more accessible to users with disabilities.
- Wrap your content using the
<main>
tag and attribution in a<footer>
tag - The only
<h1>
on the page is HTML & CSS foundations
-
SEO: Search engines use semantic elements to comprehend the page content better, potentially improving your search engine rankings.
-
Code Readability: Using semantic HTML makes your code more readable and easier to maintain for you and other developers.
-
User Experience: A clear structure and meaning in your content enhance the overall user experience, making it easier for user to navigate and understand your site.
I hope you find this useful! Don’t hesitate to reach out if you have any questions. For more information on HTML headings, you can check out HTML Headings on W3Schools. Keep up the great work!
Marked as helpful1 - Accessibility: Semantic HTML, such as
- @dylan-dot-cSubmitted 4 months agoWhat are you most proud of, and what would you do differently next time?
Im most proud of getting the challenge completed and having a free design credit from the leaderboard was necessary for this to look good.
I could make the scss and js code better and improve accessibility as well.
What challenges did you encounter, and how did you overcome them?Many challenges.
- Multiple background images was hard mainly in terms of knowing how to use them and keeping track of which location they are in when using different properties like background-position. I just had to keep in mind the positions of them and use commas to separate each bg.
- Drag and drop UI. It was hard because I never did any like that,from the OS to the webpage and I also needed some refreshes on the D&D API. Got some help from chatgpt which added the event listeners as an array and prevents the default action from happening
- Finally, I had some issues with submitting the form, checking the correct file type and size. ALso I made use of localStorage and the
FileReader
class to help manipulate the image easier.
I would like to know ways I can improve my accessibily, scss code and my JS code.
@bccpadgePosted 4 months agoHi @dylan-dot-c. Congratulations on completing this challenge!!!🎉
To make your HTML more semantic when using
<form>
you can update your code with the example below<form> <fieldset> <legend>Sign up to get Conference ticket</legend> </fieldset> <fieldset></fieldset> <fieldset></fieldset> </form>
You can put your
<label>
and<input>
in each<fieldset>
More info📚:
I hope you find this useful and don't hesitate to reach out if you have any questions
Marked as helpful1 - @carter212-starSubmitted 4 months ago@bccpadgePosted 4 months ago
Hi Dan. Congratulations on completing this challenge!!!🎉
I have a few tips to improve your solution.
HTML 📃:
- Heading tags must be used in chronological order just like table contents in a book.
The only title on the page is HTML & CSS foundation should be wrapped in a
<h1>
Instead of using the
<p>
tag to wrap the publish date and make HTML more semantic use time tag.Example:
<p>Published <time datetime="2024-02-11">11 Feb 2024 </time> </p>
Images must have alt text that screen readers can understand and improves accessibility.
<img src="./assets/images/image-avatar.webp" alt="headshot of Greg Cooper">
I hope you find this useful and don't hesitate to reach out if you have any questions
1 - @EstaireSubmitted 4 months agoWhat are you most proud of, and what would you do differently next time?
This is my first time integrating React and Vite into an existing codebase.
@bccpadgePosted 4 months agoHi @Estaire. Congratulations on completing this challenge!!!🎉
I have a few tips you might be interested in to improve your solution.
HTML 📃:
- Great job on using the
main
tag! - I downloaded your code to figure out how to fix the image src path and had issue running your website locally on my computer. The live website doesn't contain the image of Jessica Randall.
- Attribution can be contained in a footer tag
- Images must have
alt
text for screen readers- Example:
<img src="assets/images/avatar-jessica.jpeg" alt="headshot of Jessica Randall">
- Example:
To make your HTML more accessible
- Use semantic HTML tags
For the social media wrap them in
ul
tagAdding
aria-label="GitHub profile for Jessica Randall"
on the<a>
explains its purposeUsing aria-label for link purpose
<ul> <li> <a href="wwww.github.com" target="_blank"> Github</a> </li> </ul>
The code above is showing that a user can link on the Github link and go to the website.
Adding the target attribute on the
<a>
specifies where the document will open and in this case, users who click on link opens in a new tab.More info📚:
CSS 🎨:
- Best practice to remove all the default styles using CSS Reset
- A Modern CSS Reset by Josh Comeau
- A 'more' Modern CSS Reset by Andy Bell
Here is my solution to this challenge: Social links profile
I hope you find this useful and don't hesitate to reach out if you have any questions.
1 - Great job on using the
- @DAJ350Submitted 5 months agoWhat specific areas of your project would you like help with?
I'd like help on how I could better set the dimension of the mobile screen size (375px - 425px).
Also any advice on the best rule of thumb to follow when setting vertical spacing. I find percentages with width dimension simple as it's usually just a percentage of the screen width or parent width, but height dimensions are a bit more tricky for me.
@bccpadgePosted 5 months agoHello @ DAJ350. Congratulations on completing this challenge!!!🎉
To fix the width issue, you can remove
width: 64.444444444444444%
its unnecessary. You can addmax-width
on the.sign-up-form
The code blocks can be removed from your
style.css
file.sign-up-form__text-content { display: flex; flex-flow: column nowrap; row-gap: 2.5rem; width: 42.727272727272727%; height: 50.681818181818182%; align-self: center; } @media only screen and (max-width: 48rem) and (min-width: 21.875rem) { .sign-up-form__text-content { width: 87.2%; padding: 2.5rem; // you can add padding on all sides and remove the width and height height: 100%; }
Add
cursor: pointer
on theinput
I used the
<picture>
tag this way in my solution<picture> <source media="(min-width: 60rem)" srcset="./assets/images/illustration-sign-up-desktop.svg"> <img src="./assets/images/illustration-sign-up-mobile.svg" width="375" height="284" aria-hidden="true" alt=""> </picture>
I hope you find this useful and don't hesitate to reach out if you have any questions
Marked as helpful2 - @MatheusPollettiSubmitted 6 months ago@bccpadgePosted 6 months ago
Hello @MatheusPolletti. Congratulations on completing this challenge!!!🎉
I have a few suggestions to improve your solution.
Update your code to this
body > .container { /* margin-top: 10%; */ /*margin-bottom: 10%; */ background-color: hsl(0, 0%, 12%); border-radius: 2%; /* width: 30vw; */ padding: 1rem; }
- Add
min-height: 100vh;
on thebody
than the.container
andpadding: 1rem
; - I commented the CSS properties that you don't need using
/* This is a comment*/
The media query below is unnecessary because on mobile devices your code is too small and social media links are outside the card.
To remove the scrollbar, add
margin: 0;
on thebody
@media (max-width: 764px) { body > .container { margin-top: -50%; width: 85vw; height: 55vh; } }
I hope you find this useful and don't hesitate to reach out if you have any questions
Marked as helpful1 - Add