-
Notifications
You must be signed in to change notification settings - Fork 62
frida js-project-businness-site hand in #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
HIPPIEKICK
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job with the business site! You’ve implemented CSS Grid and Flexbox in a good way; however, I’m not sure the Flexbox on the video element is doing anything 👀
Going forward - keep the JavaScript in a JavaScript file 😊
| <link | ||
| rel="icon" | ||
| type="image" | ||
| href="logga2.png" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
| <label | ||
| for="radio-button" | ||
| class="consent" | ||
| > | ||
| <input | ||
| type="radio" | ||
| id="radio-button" | ||
| name="consent" | ||
| > | ||
| I agree to the use of my information. | ||
| </label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not the most common input type when asking for acceptance. Radio buttons are used when the user should pick one of multiple options. When you only have one radio button it's impossible to "uncheck" it. I think you'd be better of with a checkbox in this case 😊
| no name kafé | ||
| </footer> | ||
|
|
||
| <!--java-for-hamburger--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*JavaScript 😉
| <script> | ||
| const btn = document.querySelector('.hamburger'); | ||
| const links = document.querySelector('.nav-links'); | ||
|
|
||
| btn.addEventListener('click', () => { | ||
| links.classList.toggle('show'); | ||
| }); | ||
| </script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep the JavaScript in a separate JavaScript file going forward. It will be easier to maintain and find.
Link to my Netlifly