Modern Landing Page Tailwind CSS Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

ความคิดเห็น • 144

  • @CodinginPublic
    @CodinginPublic  2 ปีที่แล้ว +17

    I’m really excited to share this with you! If you’ve been wanting to get started with Tailwind, I hope this will be a huge help! See you tomorrow!

    • @Fatima-ie5kj
      @Fatima-ie5kj 2 ปีที่แล้ว +1

      Omg this is what I'm waiting for a long time tysm can't wait 🙂🙂

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Thought of you when I put this together because I know you and a few others are big Tailwind fans. Hope this is a help! And I’m hoping I don’t move too fast or too slow. Hard to get that right :)

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      🙏 glad you enjoyed it. Thanks for saying something!

  • @msalih
    @msalih 2 หลายเดือนก่อน

    2:23 After 2 years to uploading this video, I start this project with you. I hope not much thing have changed in this period.
    For each section note I will update this comment.
    38:34 Until here everything worked fine!
    Day 2 : 53:21 Still everything is smooth. I use Next instead of vite. I also seperate parts to components. It goes well
    1:25:00 FINISHED
    Thanks a lot! I've learned so much valuable things!

  • @user-xc2me6zh2k
    @user-xc2me6zh2k 4 หลายเดือนก่อน

    I completed this hands-on within a day and many thanks to you where I learned so many cool tips & tricks. Thanks a lot for such a valuable content 🤝

    • @CodinginPublic
      @CodinginPublic  4 หลายเดือนก่อน

      That's awesome! Thanks for the kind words!

  • @Fatima-ie5kj
    @Fatima-ie5kj 2 ปีที่แล้ว +3

    just watched full video - and i must say hands down the best video so far on youtube ❤️ with tailwind at the end of project file is bloating with too many classes project grows, you’ll inevitably find yourself repeating common utility we can also extract classes @apply

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +3

      Thanks for your kind words, @Fatima! Yes, you can use @apply. I decided against using it in this tutorial because they so strongly warn against it in the Tailwind docs (tailwindcss.com/docs/reusing-styles#extracting-classes-with-apply): 'Whatever you do, don’t use @apply just to make things look “cleaner”.…If you’re going to use @apply, use it for very small, highly reusable things like buttons and form controls - and even then only if you’re not using a framework like React where a component would be a better choice.'
      I'm glad to know the project was a help all the same! And thanks for the comment and suggestion.

  • @milanpaudel9624
    @milanpaudel9624 2 ปีที่แล้ว +5

    Thanks man.
    I am an accountant but I love coding more than my job. These tutorials are really awesome and very beneficial for newbies like me.

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +1

      Awesome! Accountant and web dev soon! Glad it was a help!

    • @Av-fn5wx
      @Av-fn5wx 6 หลายเดือนก่อน

      which means you're actually a programmer stuck in an accountant job just by chance.

  • @respectthedripkaren4515
    @respectthedripkaren4515 ปีที่แล้ว +1

    This was the first project I "did" with responsive layouts. I always thought it was much much harder but it's actually easier than I thought it was. Thanks for this project!

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      Great to hear! So glad the video was a help!

    • @enochaniyikaye
      @enochaniyikaye 4 หลายเดือนก่อน

      @@CodinginPublic Yes Thanks a lot Chris, also thanks to the emergence of Tailwind, made responsive design easier

  • @phucnguyen0110
    @phucnguyen0110 ปีที่แล้ว

    I guess I'll combine Astro with Tailwind and use this project as a practice implementation. Thanks Chris!

  • @edyu21
    @edyu21 ปีที่แล้ว +1

    Very cool! Thank you.

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว +1

      You’re welcome!

    • @edyu21
      @edyu21 ปีที่แล้ว

      @@CodinginPublic After going through your tutorial my conclusion is that for landing pages Bootstrap is still much easier to get going with the components. However, I do think tailwind is more flexible in general and can be better in the long run and from a technical appreciation perspective it's subjectively better. I especially enjoyed your tutorial because you did some non-obvious things especially with the form and the placeholders with peers.

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว +1

      I think those are basically my thoughts, too. I like the flexibility, so I’ve never liked Bootstrap much. Glad you liked the tutorial!

  • @Sharif7O7
    @Sharif7O7 5 หลายเดือนก่อน

    Thanks in advance from Bangladesh! !

  • @humbulanimunyai6320
    @humbulanimunyai6320 2 ปีที่แล้ว

    Thanks alot anyway coding in public is the way to learn and keep up-to-date with the latest technologies.

  • @kendinesponsor
    @kendinesponsor 2 ปีที่แล้ว

    Hi, I'm writing in Türkiye, a perfect tutorial. Please more tailwind practice.. thank you

  • @ashenvj4992
    @ashenvj4992 2 ปีที่แล้ว

    Need more tutorial like this every day 🙋🏻‍♂️❤

  • @ahmadalharbi9097
    @ahmadalharbi9097 2 ปีที่แล้ว

    Thank you so much , one of the best web development content creater on TH-cam

  • @thelegendofdanyal
    @thelegendofdanyal 2 ปีที่แล้ว +1

    good video i've learned about some attributes and stuff thanks

  • @vladtheimporter8741
    @vladtheimporter8741 ปีที่แล้ว +1

    Wow! Informative tailwind video! So detailed and also focused on accessibility. Thank you for sharing. Valuable content. Wish you all the best!

  • @sayemalmahdi6691
    @sayemalmahdi6691 2 ปีที่แล้ว

    Thanks brother for sharing such tutorial hope more tailwind css will come !

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Glad you enjoyed it! I stick mostly to standard CSS, but will definitely use Tailwind in the future, too! :)

  • @tkp2843
    @tkp2843 2 ปีที่แล้ว +1

    Amazing content! You are so good with explanations and details! Very informative experience!

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Thanks so much for the kind comment! Glad you enjoyed it!

  • @zaqqeus
    @zaqqeus ปีที่แล้ว

    Thank you. I learned alot of cool things with this.

  • @lvekua
    @lvekua 2 ปีที่แล้ว +1

    Much appreciated! As always the best content ❤

  • @GrantAmbrose
    @GrantAmbrose ปีที่แล้ว

    this was soooo helpful! thank you for putting this one together

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      Great! Thanks for saying something!

    • @GrantAmbrose
      @GrantAmbrose ปีที่แล้ว

      @@CodinginPublic how did you easily swap your system between light and dark mode for testing?

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว +1

      I use a program called Raycast. It’s a Mac-only replacement for Spotlight. They’ve got a setting to toggle the system setting and I assigned it to a keyboard shortcut.

  • @emday4prez
    @emday4prez 2 ปีที่แล้ว

    thanks, I learned a lot, but it would be nice to see more of your process. I am assuming you don't build sites automatically knowing what styles to add.

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +1

      Thanks for the comment! Yes, this was more of an application of CSS using Tailwind and less of a CSS walkthrough. I have done several other tutorials breaking down the process for choosing CSS a bit more slowly.
      Here's one example: Responsive Navbar HTML, CSS, and JavaScript
      th-cam.com/video/63sxOYm9GwY/w-d-xo.html
      I also try to live stream fairly regularly, so that's another great way to hear my thinking out loud. Hope that helps!

  • @akhnldc9870
    @akhnldc9870 2 ปีที่แล้ว

    😂 finally bit the bullet and showing css frameworks!

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      hahaha 🙈
      I’ve done something with Bootstrap and Tailwind each once I think, but not much :) haha. I just so prefer having my own control over everything CSS that I think I’d only ever really use Tailwind or something as low-level since it lets me control everything. But I know a lot of people love them! And I can see why!

  • @amjadnikzad4890
    @amjadnikzad4890 2 ปีที่แล้ว

    you are the bob ross of coding :)

  • @raymondmichael4987
    @raymondmichael4987 2 ปีที่แล้ว

    Fascinating, Thanks man

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Sure thing! Glad it was a help! Thanks for saying something!

  • @robertthaiya906
    @robertthaiya906 ปีที่แล้ว

    If you see the title and see that it is created on Vue, worry not, this tutorial also helps in normal HTML, CSS and JS. Just change around a couple of the following details:
    1. in the navbar JS config, ignore the is isExpanded and setAttribute lines and use the classlist toggle command. Works just fine without it. I thinks that's Vue specific, but I don't know.
    2. If your system is dark mode by default, remember to add the dark:text-white , especially on text.
    3. Use the extension inline-fold to make your html look clean (personal preference).
    4. Happy Coding!!!

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      Thanks for the comment. This project just uses plain HTML, not Vue :)

    • @robertthaiya906
      @robertthaiya906 ปีที่แล้ว

      @@CodinginPublic but at the beginning of the video, you mention that you will use Vue and do the Vue setup and that can turn prole away. I am just saying incase someone scrolls to the comment section, they can see that it uses plain HTML and setting up Vue is unnecessary.

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      Hmm. Do you mean Vite? That’s the bundler I use. I’ve actually never written Vue. I’d love to learn it though!

  • @MightyKingKala
    @MightyKingKala 2 ปีที่แล้ว

    thank you, I love your content

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +1

      Great! Thanks for saying something!

  • @silviocorrea25
    @silviocorrea25 6 หลายเดือนก่อน +1

    Hi, great content! Please, can you tell me what extension are you using in vscode to use different fonts in you html code? When passing ID, class, etc... Thanks!

    • @CodinginPublic
      @CodinginPublic  6 หลายเดือนก่อน +1

      Hmm…I don't know? I'm using a font with different ligatures, etc. You can find the link to my font setup in the description of this video if that helps.

    • @silviocorrea25
      @silviocorrea25 6 หลายเดือนก่อน

      @@CodinginPublicThanks!

  • @parenteseswebdev
    @parenteseswebdev 5 หลายเดือนก่อน

    In Vs Code I managed to put togeter a one page site and it looks and functions ok. I didn't get the same results when I uploaded to page to a real server as the CSS breaks.Not sure if it's something anyone else has issues with? Could you advise.

  • @mackzane9624
    @mackzane9624 ปีที่แล้ว +1

    Hey Chris ,amazing video ,just finished watching the complete tutorial. How do I create that animation in the landing page of tailwind website itself ,where we see that the code is being written and the output is visible at the same time. I'm talking about the very first animation where in a female by name of Sarah Dayan is giving her review. How do I produce it? . Thanks again for the tutorial.

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว +1

      My guess is it's just an mp4? I haven't looked into it. But let me know if you figure it out!

  • @khorajia
    @khorajia 2 ปีที่แล้ว

    Subscribed to your channel. Thank you for the tutorial.
    The project setup part is not beginner friendly.

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +1

      Thanks for the sub and the feedback! It's hard to hit the right level of complexity, so having feedback helps. Thanks!

  • @vladislavmitkov1580
    @vladislavmitkov1580 ปีที่แล้ว

    Thank you, very helpful tutorials! I have a question about the classes, how to keep them on multiple lines? My auto formatting is putting them on one line and it gets very long.

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว +1

      Glad you enjoyed it! Yes, if you’re using. VSCode you can turn on line wrapping. I think it’s option/alt + z; but if that’s not right you can find the command in the command palette :)

    • @vladislavmitkov1580
      @vladislavmitkov1580 ปีที่แล้ว

      @@CodinginPublic Thank you!

  • @petrtcoi9398
    @petrtcoi9398 ปีที่แล้ว

    Great video!
    I have only one question: why you use 1-cell grid for header? Why not just flex? Thank you

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว +1

      Grid is naturally top to bottom, so I prefer it for those layouts. You’re welcome to use flex though and change the direction. :) So just preference:)

    • @petrtcoi9398
      @petrtcoi9398 ปีที่แล้ว

      @@CodinginPublic Ah. Ok. Thank you for the explanation. I like your way. Just thought that I missed something.

  • @mysterOrel7924
    @mysterOrel7924 2 ปีที่แล้ว

    Very Nice Tutorial !!! But did anyone run into the issue where your page does not hot reload on save ??

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +1

      Glad you enjoyed it! Sorry for the trouble with the hot reloading. I haven't run into that. Let me know if I can help in any other way!

    • @mysterOrel7924
      @mysterOrel7924 2 ปีที่แล้ว

      @@CodinginPublic all the thanks goes to you for this amazing tutorial. Will try to find a solution to it meanwhile.

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +1

      🙏

  • @TheBlackGentlemanGeek
    @TheBlackGentlemanGeek ปีที่แล้ว

    Thanks for the tutorial really helpful. Tailwind is messy but I can see the benefit. Also where do you get the images you used for landing? I'm kinda bad with graphic design but I want some for my web design learning journey.

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      Glad it was a help! Images are from unsplash :)

  • @jamesalex6500
    @jamesalex6500 2 ปีที่แล้ว

    Great Vid! BTW how do you hide the macOS default "red yellow green" button on the top-left corner?

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Glad you enjoyed it! Thanks for saying something. I’m using a default feature in macOS called spaces. It’s what happens with you fully expand any window. And then I’m splitting the space with two apps.

  • @JJ-ot3ps
    @JJ-ot3ps 2 ปีที่แล้ว

    thanks man, any video on popover, hover in navigation bar with tailwind?

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Not sure I understand? Are you asking if that's possible using Tailwind?

    • @JJ-ot3ps
      @JJ-ot3ps 2 ปีที่แล้ว

      @@CodinginPublic oh I was looking for how to make mega menu , i saw some navigation has this huge mega menu when popover or hover, do you have any video on that using twilwind?

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      I don’t. Sorry!

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      I don’t. Sorry!

  • @Av-fn5wx
    @Av-fn5wx 6 หลายเดือนก่อน

    Hi, thanku for the video. any reason why we used grid class on the div containing h2 and p tags at 53:50 .

    • @CodinginPublic
      @CodinginPublic  6 หลายเดือนก่อน

      Just an easy way to create a stack of the two elements.

    • @Av-fn5wx
      @Av-fn5wx 6 หลายเดือนก่อน

      @CodinginPublic oh I see. Sure, I'm gonna use it from now on. Thank you boss

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 2 ปีที่แล้ว

    Nice , more tailwind pls , good vídeo , like ando sub

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Thanks for the kind words. Glad you enjoyed it!

  • @saimoralam5647
    @saimoralam5647 ปีที่แล้ว

    which folders icon plugin you have used for your vs_code...thx in advance 🙂

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      I use bearded icon theme icons, I think :)

  • @jewelhasan8573
    @jewelhasan8573 ปีที่แล้ว

    can you tell me the name of "File Icon Theme" you are using?

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      I think it’s called Bearded Icons

  • @rurallife764
    @rurallife764 ปีที่แล้ว

    Hi bro
    Can you share me how to run project after clone?
    thank you

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      Just run these two commands:
      npm i
      npm run dev

  • @taufanprasetyo4773
    @taufanprasetyo4773 2 ปีที่แล้ว +1

    How u switch to dark mode?

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      On my system? I use Raycast (it’s a Spotlight replacement). It has built in ability to change modes.

  • @webpixels9894
    @webpixels9894 2 ปีที่แล้ว

    Hello Sir i have One Question how to convert website into App and Upload on Google Play Store can You Make a Video Step by step Process can You Plzz Make A video on This Topics

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      You’d need to write it in React native or some kind of app that could compile to whatever the Android store accepts. And I’m not sure how to do that 😁. Sorry!

  • @harshalkhairnar1943
    @harshalkhairnar1943 ปีที่แล้ว

    how to switch to dark mode...somebody help

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      you can do it in two ways: emulate it in chrome (open up the dev tools, press ctrl/cmd + shift + p, and search for dark mode) or on your machine (search for dark mode macOS/Windows/Linux). Hope that helps! On macOS, I use Raycast (a Spotlight replacement) to switch to dark mode with a keypress.

  • @jonice4229
    @jonice4229 2 ปีที่แล้ว

    what theme are you using on vscode?

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      I use Monokai Pro. Did a video explaining here.
      My VSCode Theme and Font Setup
      th-cam.com/video/5uETTXxVj8s/w-d-xo.html

  • @AlThePal78
    @AlThePal78 ปีที่แล้ว

    I thought you was going to do html css and js with tailwind I have no idea what vite is

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      I probably never explained it. Sorry about that :). So Vite is just a tool that helps in the dev and final build experience. It spins up a dev server and then automatically bundles your code on build, etc. You can literally open a folder and just add an html, css, and postcss file if you want to skip vite. The only difference would be you’d have to spin up your own dev server and then init a package.json in order to use postcss. Hope that helps!

  • @margotdell6049
    @margotdell6049 2 ปีที่แล้ว

    hey, i have a problem on 40:00 the gradient bg is doesn't work, can u help me pls ?

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Happy to help! What’s the problem with the gradient?

    • @pixelriegel
      @pixelriegel 2 ปีที่แล้ว

      @@CodinginPublic for me it is the -z-10 that seems to put the gradient behind the body index and therefore it is not visible at all.

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      @@pixelriegel huh, okay. Perhaps that's the problem for Margot Dell, too?

    • @pixelriegel
      @pixelriegel 2 ปีที่แล้ว

      @@CodinginPublic might be but it is still a strange thing.

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      If I have time I’ll look into it later

  • @muhammadk23
    @muhammadk23 2 ปีที่แล้ว

    greate video, can i get your vscode theme and font name, and the icon pack?

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +1

      Sure thing! th-cam.com/video/5uETTXxVj8s/w-d-xo.html
      Cascadia Code font and Monokai pro for the theme. I think my icons are Bearded icons.

    • @muhammadk23
      @muhammadk23 2 ปีที่แล้ว

      @@CodinginPublic thanks 😊

  • @user-dd3ft1is2p
    @user-dd3ft1is2p ปีที่แล้ว

    Where to get images in the layout?

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      In the github repo linked in the description.

    • @user-dd3ft1is2p
      @user-dd3ft1is2p ปีที่แล้ว

      @@CodinginPublic do you mean readme file?

    • @user-dd3ft1is2p
      @user-dd3ft1is2p ปีที่แล้ว

      The description is empty. There are links in the readme file, I tried them all, but there is no layout itself. Sorry for stupidness😔

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว +1

      No Worries. Here: github.com/coding-in-public/homesmart-landing-page
      Under the assets folder.

    • @user-dd3ft1is2p
      @user-dd3ft1is2p ปีที่แล้ว

      @@CodinginPublic I got it, thank you

  • @EdzonmxDev
    @EdzonmxDev ปีที่แล้ว

    Hello Dear Friends,
    Excuse me what is your Font and your Icon Pack

    • @CodinginPublic
      @CodinginPublic  ปีที่แล้ว

      I'm using Palenight Operator and Bearded Icons here, I think?

  • @learnfronteasy9642
    @learnfronteasy9642 2 ปีที่แล้ว

    hi I'm learning Tailwind in Persian language

  • @motivationislami1
    @motivationislami1 ปีที่แล้ว

    file icon theme name?

  • @iamchinmayy
    @iamchinmayy 6 หลายเดือนก่อน

    why vanilla, why not react

    • @CodinginPublic
      @CodinginPublic  6 หลายเดือนก่อน

      I typically stick with the most simple, knowing those who know react can easily adapt it to react. Hope that helps

  • @abhieetsinghrana9729
    @abhieetsinghrana9729 2 ปีที่แล้ว

    Sir i need your help

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +1

      Feel free to comment. If I’m able to help, I’ll let you know!

    • @abhieetsinghrana9729
      @abhieetsinghrana9729 2 ปีที่แล้ว

      @@CodinginPublic My menubar navigation button is not working i followed your steps correctly but it didn't work. Unable to solve this error from 3 days

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Can you compare your code to my finished code on GitHub? That should help you spot if you have a problem in your html.

    • @anuragnaren1567
      @anuragnaren1567 ปีที่แล้ว

      @@CodinginPublic Hi Abhieet, check if you have linked index and main.js with .

  • @necrobaku811
    @necrobaku811 2 หลายเดือนก่อน

    Can you REMAKE this video for 2024???

  • @anon8410
    @anon8410 2 ปีที่แล้ว

    This tutorials so confusing :( y make mobile and desktop the same time focus on 1

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว

      Hey, thanks for the feedback! Sorry it wasn't a help. The hard thing with showing only mobile or only desktop is that it's a mobile-first utility framework. I suppose I could have gone and done only mobile and then gone through all the html and added all the classes I needed for desktop, but I felt like that would be more confusing since most of the time when you're developing, you're thinking through both as you structure and style it? But thanks again for letting me know your thoughts!

    • @anon8410
      @anon8410 2 ปีที่แล้ว

      @@CodinginPublic im a beginner i cant even make a mobile version website n wen i see sum1 making both at the same time it gets confusing. I hope u understand 😀 thanks for the tutorials.

    • @CodinginPublic
      @CodinginPublic  2 ปีที่แล้ว +1

      No worries! We’ve all been there and I can still struggle with that. Hopefully you’ll find help in other tutorials I’ve done or others have time. I often find coming back to tutorials a few months later can be a big help if I don’t find help the first time. It’s hard to find stuff that always perfectly aligns with where you’re currently at. Sometimes it’s too simple. Sometimes it’s too difficult. Hopefully some of the stuff I’ve done can be “just right” for you 😊