Skip to content
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

Elina Eriksson Hult - business-site #368

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ElinaEH
Copy link

@ElinaEH ElinaEH commented Sep 1, 2024

No description provided.

Copy link
Contributor

@HIPPIEKICK HIPPIEKICK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Elina! Great job on your business site 🎵 Some tips and considerations coming up.

HTML

  • Including a video in the header is a nice touch! You’ve correctly added attributes like controls, autoplay, loop, and muted, which enhance the user experience. However, the alt attribute you used on the <source> tag is unnecessary since the <source> tag doesn't support it. You might want to remove it or provide descriptive text elsewhere.
  • The label elements are correctly wrapping their respective inputs, which is great for accessibility.

CSS

  • The form is well-styled overall, but I would consider adding some more padding to the input fields, as well as changing the color of the link.
  • Really like the right alignment of the labels, make it look very neat 👍

Keep up the great work, and continue building your skills! 🎉 ​

PS. Committing your code more often will make it easier to track your changes.

Copy link

@EmelieNyberg EmelieNyberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Så snygg hemsida!

Jag testade även ditt formulär, och det fungerade som det skulle!
Jag såg även att formuläret och hemsidan fungerade på flera olika plattformar så som mobil och surfplatta :-)
Koden va tydligt skriven och i kronologisk ordning. Den innehöll också många kommentarer som gjorde det ännu lättare att förstå var i koden dina element fanns!

Bra jobbat! :-D

<!-- video content -->
<video
id="video"
controls autoplay loop muted>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Riktigt snygg video som passade temat perfekt! :-)
Jag tror att om du tar bort "controls" från din videokod så kommer förmodligen "play" och "stop" knapparna att försvinna på videon.

Comment on lines +68 to +77
<label>
<span>Song</span>
<select name="Song">
<option value="Shura - 2Shy">Shura - 2Shy</option>
<option value="Griff - Miss Me Too">Griff - Miss Me Too</option>
<option value="SKAAR - 24">SKAAR - 24</option>
<option value="Nao - Another Lifetime">Nao - Another Lifetime</option>
<option value="IDER - Girl">IDER - Girl</option>
</select>
</label>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Något som jag lyckades hitta i sådär sista sekund innan jag själv lämnade in var att man kan lägga in en till <option> ovanför de andra som som gör att det inte finns något värde förifyllt. dvs den är bara tom och om man klickar på den så ser man hela listan med val.
Så här såg min kod ut:

     <label>
        <span>Country</span>
        <select name="country" required>
          <option value="" disabled selected></option>
          <option value="SE">Sweden</option>
          <option value="NO">Norway</option>
          <option value="DK">Denmark</option>
          <option value="FI">Finland</option>
        </select>
      </label>

Comment on lines +114 to +131
::-webkit-input-placeholder {
color: #989898;
}

::-moz-placeholder {
/* Firefox 19+ */
color: #c2c2c2;
}

:-ms-input-placeholder {
/* IE 10+ */
color: #c2c2c2;
}

:-moz-placeholder {
/* Firefox 18- */
color: #c2c2c2;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coolt, inte sett det här ännu! Ska googla sen och se vad de gör i din styling så jag kanske lär mig något nytt! :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants