This is a solution to the Advice generator app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Note: Delete this note and update the table of contents based on what sections you keep.
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Generate random advice
- Html
- Scss
- Javascript
- Webpack
- React
- Npm
To see how you can add code snippets, see below:
Add dynamic class for a condition
<button className={`advice-generator-button ${!isLoaded ? 'loading' : ''}`}>
Scss Neon Effect & Keyframe
.gradient {
box-shadow: 0 0 20px 1px $neonGreen;
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
React useState, useEffect, fetch