Latest solutions
Coding Bootcamp testimonials slider with React, Typescript and CSS
#react#typescriptSubmitted about 3 years ago
Latest comments
- @tailorthecreator@DimiPavlov
Hello Taishi, congratulations on completing the challenge!!!
I have noticed that you haven't implemented the active state. You can add a hover effect on each of the buttons(including cursor, border, and color). For more information please refer to the active-states.jpg file in the design folder.
Hope I was able to help you.
Happy coding!!!
Marked as helpful - @Bidex-03@DimiPavlov
Hi Abdullah
Congratulation on completing the challenge.
In regards to your difficulty to center the component, I notice that you tried to apply the CSS for centering on the div with id: 'container' where you should apply them on the body.
Maybe try to add those styles to your body CSS: height: 100vh; display: flex; justify-content: center; align-items: center;
And remove the one from the div with id: 'container'
I hope I was able to help you.
Happy coding!!!
- @androidbasha572@DimiPavlov
Hello Ahmed
First of all congratulation on completing the challenge. I have noticed a couple of things.
- I do believe that you forgot the add the hover effect on the main picture, name, and 'Equilibrium'. Please refer to the 'active-states.jpg' in the design folder.
- Apply some margin for avatar and text, and <hr> and footer.
- Think about adding some semantic HTML elements. You can read below all the benefits.
https://www.freecodecamp.org/news/semantic-html5-elements/
Hope I was able to help you.
Happy coding!!!
Marked as helpful - @garang-deng@DimiPavlov
Hello Garang, congratulation on completing the challenge.
Regards your question about color: inherit not working, I suggest you take a look at the MDN site about the 'inherit' property.
https://developer.mozilla.org/en-US/docs/Web/CSS/inherit
It does inherit the color of the parent element, in your case, that's the sections. If you take a look at your code, you will see that your section has no color property, only a background-color. So you are trying to inherit a color from a background-color, which is not possible. You can add a random color to your sections and see how your button color will also inherit it.
Hope I was able to help you.
Happy coding :)
Marked as helpful - @EJdevgithub@DimiPavlov
Hi Erycah, well done on completing the challenge.
In order to achieve the change of background color on hover effect, try to set it to transparent.
background-color: transparent;
Happy coding!!!
- @MahdiAljazairi@DimiPavlov
Hello Mahdi, seems like the "Preview Site" option for your project is not working.
Not Found - Request ID: 01G788R3CVP3BZFJWC38NPX6SH
Github also returns 404.