Closed rasokolovska closed 7 months ago
@rasokolovska Also, could you make these formatting changes to the PR description?
fix-hover-on-inactive-link
.Please use this part of your PR description to list the actual changes you made to the codebase 😉
html
to CSS
in code blocks to apply inline formatting? (see video below for reference):https://github.com/p-foundation/pink-app/assets/76534205/3c1698db-00d0-4ac6-81b4-c82e6450c305
Hi, thanks for the feedback, I have made changes and corrections
Description of the problem
The project faced a problem with a color-changing link to the main page that leads nowhere. When you hover or hold down the cursor on this link, it changes color, which can lead to user confusion and gives the impression that the link has the functionality to go to another page, although it does not.
Solution to the problem
The following changes were made to resolve this issue:
Changes have been made to the
header__navigation-link.css
file, using the CSS:not()
pseudo-class to exclude theheader__navigation-link_active
state in the hovered and active link states:I tested the changes in the live server to ensure that the link to the main page does not respond to hovering and active state. This pull request resolves #31