Design to Code // HTML & CSS from scratch // Frontend Mentor Form

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 91

  • @Azhtyhx
    @Azhtyhx 3 месяца назад +43

    I always thought you said "Hello my friend and friends". I don't know, I guess it probably made sense to me as I didn't really pay any attention to it. Ah well, you learn something new every day!

    • @K-tsjing
      @K-tsjing 3 месяца назад +3

      I was reading this comment and was like nooooooo and I turned on the subtitels & was like WHAAAAAAAAAT :D

    • @hameeeed5992
      @hameeeed5992 3 месяца назад +3

      Same 😂

    • @shontam
      @shontam 3 месяца назад +7

      I just recently realized it's Front-end Friends too.

    • @teaman7v
      @teaman7v 3 месяца назад +4

      I thought this for years, and thought it was a bit of an odd expression 🤭

    • @Yuri-qr7ml
      @Yuri-qr7ml 3 месяца назад +2

      You're not alone haha

  • @bwknowles98
    @bwknowles98 3 месяца назад +23

    These are the best videos because I know I can do this, but I'm glad to learn better ways to do it, and it also allows new devs to learn from scratch the right way from the start.

  • @oncalldev
    @oncalldev 13 дней назад

    Really enjoy these type of Frontend Mentor start-to-finish videos. Good to know what CSS works and why but seeing the thought process throughout a project is extremely helpful.

  • @cheekianteoh5746
    @cheekianteoh5746 3 месяца назад +1

    The way you handle the error state in the client side is neat! Thanks for the CSS Tips.

  • @farmarcos
    @farmarcos 3 месяца назад

    I still have a lot to learn, but watching professionals in action is invaluable. It's a great way to pick up new techniques, discover more efficient approaches, and understand the journey to becoming an expert. Thanks, @Kevin.

  • @mamaburroughs3016
    @mamaburroughs3016 3 месяца назад +1

    I know you mentioned that there are enough form videos on the internet, but with all of the ones that I have found, they are so hard to understand and follow and I hope that one day you can do an expansion on how to do write form action and lets say have it link to a Google sheet or something of that nature. Appreciate your videos and you are truly the other person I watch for this content. Keep it up!

  • @thefuntom
    @thefuntom 3 месяца назад

    I rarely subscribe to people I watch, because I seldom watch certain youtubers on a regular basis. Your channel is one of some exceptions - the way you present the basics and convention to CSS styles is very helpful and understandable. Thank you!

  • @alajit
    @alajit Месяц назад

    Your videos are life saver, thanks Kevin for such a great help to the community.

  • @AngelHoxen
    @AngelHoxen 2 месяца назад

    I love all the little explanations that you do. Great teacher!

  • @slemenceu
    @slemenceu 3 месяца назад

    Wow Kevin, that button gradient shadow is worth it. Thanks for teaching me that cool trick.

  • @GlitzyIsBored
    @GlitzyIsBored 3 месяца назад

    I'm experienced in html and css but I suck when it comes to designing webs. I really appreciate this video!

  • @kopilkaiser8991
    @kopilkaiser8991 3 месяца назад

    Let's go. I am super excited to learn from your this video. Thank you for all your efforts and hard work 😁👌🏼

  • @developerlayton
    @developerlayton 3 месяца назад +5

    This is a masterpiece, I would say I am pretty confident in CSS but there is always something you learn by watching your videos. Is it either best practices or new selectors or new thinking method,... Thanks for this Kevin!

  • @Erwin_t
    @Erwin_t 3 месяца назад +2

    MORE OF THESE PLZ!

  • @HenriqueErzinger
    @HenriqueErzinger 3 месяца назад +1

    You actually CAN transition gradients in two ways: first, the background-position property is fair game, so just design your gradient as a sprite, with background-size 200% or something like that and move it; second, you can use custom properties as your color values and transition that. To be able to transition a color value, you’ll need to use a @property rule, and declare it as color, but with that it just works as expected.

    • @KevinPowell
      @KevinPowell  3 месяца назад

      Yup, both of those work 😊. Registered custom properties with @property are definitely the way to go, but browser support isn't great yet. It's in all major browsers, but it's relatively new

  • @alisajadahmadi978
    @alisajadahmadi978 3 месяца назад

    This was really a helpful video. I learned a lottttttttttttttt of new things. THANK YOU Powell.

  • @CamaguNcoso
    @CamaguNcoso 3 месяца назад +2

    Ever since I discovered Kevin Powell, I decided I'm going to learn CSS from scratch. Although I'm familiar with CSS, I had just lost confidence.

  • @shontam
    @shontam 3 месяца назад

    I love these types of videos.

  • @mavsocc
    @mavsocc 3 месяца назад +1

    nice one. more like this please, very helpfull for beginners

  • @EnricoRos
    @EnricoRos 3 месяца назад +1

    Loved it. Never settles and always pushes for the perfect layouts. (Also, mind blown with isolation!)

  • @sovereignlivingsoul
    @sovereignlivingsoul 3 месяца назад

    great video Kevin, your explanation for the shadow was great, i kept, wondering why not use a box or drop-shadow, think i am going to try using grid where i used to change the flex direction to column and see how that works, take care and God Bless

  • @farzadmf
    @farzadmf 3 месяца назад +1

    Thanks!

    • @KevinPowell
      @KevinPowell  3 месяца назад +1

      Thank you so much! 🙏

    • @farzadmf
      @farzadmf 3 месяца назад

      My pleasure; thank YOU for the AMAZING videos

  • @yurtiksupreme465
    @yurtiksupreme465 3 месяца назад +1

    Wonderful 🎉🎉🎉

  • @octothorpe12
    @octothorpe12 3 месяца назад

    I am a huge fan of making a TOC at the top of my CSS file, with identical section comments below so you can easily use the find command to pop to a particular area.

  • @cicartaya
    @cicartaya 3 месяца назад +1

    I like how you showed different ways to do the same thing and described the tradeoffs. I think that's a great way to learn things. That process is similar to coding interviews, where it's good to find a brute force approach and then try to find a way to optimize the solution while discussing the tradeoffs. Awesome video! 😊

  • @adeosunadeyanju1549
    @adeosunadeyanju1549 3 месяца назад

    You are wonderful bro😊

  • @tommysmith5479
    @tommysmith5479 3 месяца назад

    One thing I'm definitely taking away from this is to use grid much more - in fact, use it at all!! Especially for the scenarios like for the checkmark list. Takes a lot of pain away from the css.

  • @sawilliams
    @sawilliams 3 месяца назад

    Who the hay-who said don't use descendant selectors!? Thats one of the great powers of css

  • @omkarghodke7537
    @omkarghodke7537 3 месяца назад

    Keep doing sir ❤

  • @acabreragnz
    @acabreragnz 3 месяца назад

    Amazing!

  • @omkarghodke7537
    @omkarghodke7537 3 месяца назад

    It is really helpful to us😊

  • @klopmarch
    @klopmarch 3 месяца назад

    Could you make a tutorial on how to implement algolia to a static site? There is no simple to the point explanation on the internet about this.

  • @SimmsRyan97
    @SimmsRyan97 3 месяца назад

    Quick question. I notice you often use rem and em for padding and margin. If the user has their font size set to something really big won't this make things look completely different to the design?

  • @simple-stack-by-ed
    @simple-stack-by-ed 3 месяца назад

    From figma to code 😊

  • @clevermissfox
    @clevermissfox 3 месяца назад +9

    Ive been liking using a fieldset (or nested fieldset) to group label and inputs together instead of a div. If this is semantically incorrect , please lmk! Just seemed like a good pairing within a form. Ive also seen legend used.

    • @clevermissfox
      @clevermissfox 3 месяца назад +1

      I've also never heard of the dl tag! Another list?! That's exciting! I also like how you only remove list styles from ul[role=list]. However I thought that attribute was inherent to ul/ol?
      EDIT: aha just got to the part about how if you take off the list style , safari screen reader may no longer announce it as a list ! Love these kind of tips.

    • @clevermissfox
      @clevermissfox 3 месяца назад +1

      Last one: can we make a container query for a picture element somehow so its media query is looking at the size of the picture element and not the screen to switch sources ? Or would that just have to be a background image like any other element ?

    • @KevinPowell
      @KevinPowell  3 месяца назад +2

      For the image, it has to be in the HTML, which is a little annoying...
      As for fieldset, usually that's for additional grouping within the form, where you might have several labels and inputs together. The easy use case is for a group of radio buttons, where you have one question (the legend in the fieldset), and then all the label + radio inputs.

    • @atg878
      @atg878 3 месяца назад +1

      Waiting for this 🎉🎉❤

    • @clevermissfox
      @clevermissfox 3 месяца назад

      @@KevinPowell yea I've used fieldset for radio groups or for grouping several fields together but is it okay to use fieldset>(fieldset > label + input ) + (fieldset > label + input) + (fieldset > label + input)? Or should the parents of the label+inputs just be divs ?

  • @krutikabarad4241
    @krutikabarad4241 3 месяца назад

    Completed the tutorial

  • @ahmetcetin9345
    @ahmetcetin9345 3 месяца назад

    Superr 🎉

  • @rendetacf
    @rendetacf 12 дней назад

    Hello Kevin, I have a question on the button you made it relative and the after absolute, why does the relative not make it isolate?

  • @RobCooper
    @RobCooper 3 месяца назад

    Hate to bug you. I've been trying to locate a tutorial you did where you had an animated multi-color background section that was orange, purple, blueish from a static image and then used css to make it move and flow like a lava lamp. It was a multi-color lava lamp type color in a hero that moved and flowed. Kinda like your blob and your colored orb that tracked with your mouse. Same colors to that. I recall you had an online utility generate the initial image / svg and then made it move. I've looked and looked and cannot find it. any ideas? on the plus side, I've looked over most of your videos today. But I'm not sure what the lesson was you were teaching so without the title or thumbnail indicating it's the one, I'm looking through videos and lives.

  • @nilaallj
    @nilaallj 3 месяца назад

    Great video as always! Do you know if there is any difference between the behavior of `:not(:focus):invalid` and the new `:user-invalid` pseudo class? As I understand it, the latter is made precisely for this use case. Browser support is not perfect yet however.

    • @KevinPowell
      @KevinPowell  2 месяца назад +1

      Covered this in my most recent video! If you missed it, a :not(:focus):not(:placeholder-shown):invalid is almost the same as :user-invalid, but with better browser support :)

  • @user-rk7hz2zc1i
    @user-rk7hz2zc1i 2 месяца назад +1

    Hi Kevin,
    If the list text uses , then .checkmark-list li {display: grid; grid-template-columns: 1rem auto; } breaks.
    Please tell me how to fix this.
    Thanks in advance, Alex

  • @Jumanji_Dev
    @Jumanji_Dev 3 месяца назад +1

    Lovely Kevin Just got inspired by you and I just started my YT channel, uploaded new Vid today for beginners also....
    Tune In My Lovely People ❤
    Thanks 👍
    #GivingBackToTheCommunity 😜

  • @hedgehogform
    @hedgehogform 3 месяца назад

    I challenge you to re-create the xbox 360 blades dashboard with functional page-switch/animations.

  • @EHKvlogs
    @EHKvlogs 3 месяца назад

    why you did not use css nesting here?

  • @Sam-js8ge
    @Sam-js8ge 3 месяца назад +1

    This does not work when an input is set to 'required' because it will always be invalid unless it contains text, therefore the invalid styling is always active until the input field is filled. Is there any way around this?

  • @arunsp767
    @arunsp767 3 месяца назад

    In my personal projects, I've always named elements with their names. So my entire page is always with a bunch of , , , , , , , , .... any wacky name you can think of. But it kinda helps me with readability AND CSS styling as well. My question is, does this approach affect other factors like accessibility/screen readers?

    • @arnas392
      @arnas392 3 месяца назад

      Not good to do bud. You should be using HTML 5 tags/elements.
      You also shouldn’t really be styling elements directly, you want to add classes to them. Using a naming convention such as BEM is good.

  • @cryptobrarry
    @cryptobrarry 3 месяца назад

    Why don't you use .woff format instead of ttf? can i use has the same percentage of supporting, but i 2 times smaller than ttf

  • @osterello
    @osterello 3 месяца назад

    Great video, just one question: why didn't you add a fallback font like sans-serif to the Roboto font-family?

    • @simple-stack-by-ed
      @simple-stack-by-ed 3 месяца назад

      U never know if all fonts will be present

    • @osterello
      @osterello 3 месяца назад

      ​@@simple-stack-by-edthat's why I asked

  • @svag_g
    @svag_g 3 месяца назад

    I just did this project a week ago 😂 🎉

  • @ridazouga4144
    @ridazouga4144 3 месяца назад

    You mentioned the browser support of :has() which as of today is 92.8% which honestly is maybe a safe threshold, or am i wrong

  • @zaibali254
    @zaibali254 3 месяца назад

    Is there any playlist of frontend mentor projects that you did?

  • @micheledellaquila7671
    @micheledellaquila7671 2 месяца назад

    I would like to know how I do to show the full structure in the emmet abbreviation, please

  • @vilijanac
    @vilijanac 3 месяца назад

    I don't like to declare variables that are only used once. Also what happens if you link to several CSS files, that have also the root property declared? Will it overwrite, inherit and add. should this be left to rules and chances?

  • @TheMetalMag
    @TheMetalMag 3 месяца назад

    thx you rock

  • @gingerlox7236
    @gingerlox7236 2 месяца назад

    at 22.32, can someone explain why he doesn't just use .content as the selector, and instead directly descends from .newsletter-cta? I know its more specific, but would .content not give the same results? I assume there could be an issue later in some projects doing this but can't figure it out

  • @asadsalehumar1011
    @asadsalehumar1011 3 месяца назад

    Caution: you are watching masters at work

  • @tommysmith5479
    @tommysmith5479 3 месяца назад

    What's the difference between : and :: on pseudo elements?

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 3 месяца назад

    If the image is decorative, why not embed it in css and it has nothing to do with the page content? 3:15

  • @YacineBougera
    @YacineBougera 3 месяца назад +2

    Can u do it with js please ... watching you making frontend mentor challenges will help me a lot with css and js

    • @kaosce
      @kaosce 3 месяца назад +1

      If you don't have to use js, don't. It would be bad for performances and useless complexity

    • @YacineBougera
      @YacineBougera 3 месяца назад

      I was talking about some other projects that require Js...he can really help us

  • @MrPogi-lf5gz
    @MrPogi-lf5gz 3 месяца назад

    Is css and html still relevant when ai there are lots of ai that can do the same?

    • @chrisstucker1813
      @chrisstucker1813 3 месяца назад

      Skilled front end developers - like Kevin - will be in demand for a longgg time to come. It’s easy to write CSS, but to write concise, clear and easy-to-understand CSS with good accessibility features, requires years of practice to master.

    • @TheNewton
      @TheNewton 2 месяца назад

      AI spits out random text, it can't be guaranteed to work out of the box.
      So even if an AI generates some code some persons still needs to understand it enough to make sure it's only doing what it's supposed to or that it even works at all.

  • @afaqahmad8918
    @afaqahmad8918 3 месяца назад

    37:06

  • @Techy-mimos
    @Techy-mimos 3 месяца назад

    You didn't start writing those codes from scratch how are we going to understand 😢

    • @bala_g3531
      @bala_g3531 3 месяца назад

      ?,he is starting from scratch bro!

  • @Harish-rz4gv
    @Harish-rz4gv 3 месяца назад +1

    I think it is the time to move to Tailwind

    • @simple-stack-by-ed
      @simple-stack-by-ed 3 месяца назад

      Nah...css for the long term...it will make u grow.

  • @bahrambarazandeh3716
    @bahrambarazandeh3716 3 месяца назад

    Your lessons are great, but please talk a little less. One gets overwhelmed by the jokes and side explanations 😬.

    • @shontam
      @shontam 3 месяца назад +4

      I like the way he does the videos just the way they are.

    • @chrisstucker1813
      @chrisstucker1813 3 месяца назад

      It’s fine the way it is. He’s a super talented and knowledgeable guy and makes all this stuff seem a little less intimidating.