@huyphan2210
Posted
Hi, @rajaab100
I looked over your solution and wanted to address your question about the border-radius
:
- You’ve applied
border-radius: 10px
to the SVG, but it might not be visible as expected. To investigate this, use DevTools in your browser (open your HTML page, press F12). If you’re not familiar with DevTools, I recommend learning how to use it, as it’s an essential tool for front-end development. - Assuming you’re comfortable with DevTools, inspect the SVG element. You’ll notice that the visible part of the SVG is actually smaller than the element’s full size. The
border-radius
is indeed applied, but it affects the outer edges of the SVG. To see this more clearly, try adding abackground-color
to the SVG. This will show you the actual rounded borders, revealing that the border-radius is working as intended. Working with SVGs can be tricky due to their unique rendering properties.
There are other issues with your page, but I hope this explanation helps you with the border-radius
issue.
Also, I’m unable to access your repository for this solution. It may have been set to private or deleted.