Build a Responsive Hotel Website | HTML and CSS Tutorial

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • In this video we will take a look at the first part of building a responsive hotel booking website using html and css. Stay tuned for part 2 coming soon.
    ☕ Buy me a coffee
    Become a member and access the premium SCSS source code for my responsive layout templates for free.
    🔗 www.buymeacoff...
    🌐 Hostinger
    Get affordable domain and web hosting service with Hostinger. Save up to 91%* off your entire order by using the link below and my coupon code.
    🔗 hostinger.com/juliocodes
    Discount code: JULIOCODES
    🔔 Subscribe
    🔗 bit.ly/2Q3pCiB
    📱 Social Media
    🔗 / juliocodes
    📁 Assets & Resources
    GitHub 🔗 github.com/jlo...
    Travelix 🔗 colorlib.com/p...
    ⚠️ Disclaimer
    This video description contains affiliate links, which means that if you purchase one of the products or click on certain links, I’ll receive a small commission.
    #webdesign #responsivewebsite

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

  • @dfjama
    @dfjama 3 года назад +2

    Julio you are the best HTML, CSS & JS instructor I have seen on RUclips. I completed The Rosa and Trevelix projects and I have learnt a lot. Both content and teaching style are simple, sleek to the point.

    • @narcisussstoicone2275
      @narcisussstoicone2275 3 года назад +1

      I can't seem to connect my Javascript file with HTML file even when I copy Julio word for word

  • @ManeelxAkosAdor
    @ManeelxAkosAdor 4 года назад +18

    Make it responsive is quite easy, difficult part is to come up with a nice and miningful design, a long with building a backend

  • @CodingJourney
    @CodingJourney 4 года назад +4

    Great tip on simplifying calculations when using rem units!
    html {
    font-size: 10px;
    }
    body {
    font-size: 1.6rem;
    }
    Wish I though of this earlier 🙂 Thank man, keep it up!!!

    • @juliocodes
      @juliocodes  4 года назад +1

      Glad to help!

    • @sadekurrahman4086
      @sadekurrahman4086 4 года назад +1

      Hey, brother I really didn't understand it. Why html and body has two different font sizes? Please make me understand.

    • @CodingJourney
      @CodingJourney 4 года назад

      @@sadekurrahman4086 Hey man! The rem unit is relative to the font-size of the root (or the html) element. In order to reset the root font-size (default is 16px) we have to do it in the html element. So, here we set the root font-size to 10px; If we don't specify font-size for the body, new default will be 10px, so if we want to set it back to 16px we set font-size to 1.6rem in the body. Hope this helps!

    • @juliocodes
      @juliocodes  4 года назад +2

      @@sadekurrahman4086 Rem unit is relative to the root (html). By setting this to 10px then the calculations become easier (1.6rem = 16px). The body uses 1.6rem because it's the general font size I want unless I change it for other elements. But this font size could be anything.

    • @sadekurrahman4086
      @sadekurrahman4086 4 года назад +1

      @@CodingJourney thanks brother.

  • @publicspace234
    @publicspace234 Год назад

    Thanks! This is a great walkthrough. Good explanations. Thanks for keeping the styling simple and pretty. Makes the functionality easier to understand. Good pacing. Much appreciated.

  • @coldestlin
    @coldestlin 4 года назад +1

    awesome tutorial demostrate the basic and essential part of responsive web design, especially the tricks that set the nav header by css @media query.

  • @abusalehinrifat5516
    @abusalehinrifat5516 4 года назад +3

    Always best... Keep gifting us these types of tutorials in this lockdown☺

  • @ArtOfFun
    @ArtOfFun 4 года назад +1

    *It’s very perfectly channel! I so fun, that I finder this channel! Thank you!*

  • @IsrafilGuseinov
    @IsrafilGuseinov 3 года назад +1

    Hi, very useful tutorial. Thanks a lot! Keep it up! And do something like this more, please!

  • @barsaatmaaz8392
    @barsaatmaaz8392 4 года назад

    one of the best instructor i have ever seen, lots of respect and love

  • @SalmanKhan-pm2ng
    @SalmanKhan-pm2ng 4 года назад

    Carry on

  • @ln9808
    @ln9808 4 года назад

    Thanks Julio! Looking forward for part 2

  • @masha-fr4bm
    @masha-fr4bm 3 года назад

    thank you so much! this is a very good video, and i didn't know about those shortcuts

  • @wilhelmusolejr4979
    @wilhelmusolejr4979 3 года назад

    Thank you!! I learned more in this video

  • @eduardofridryszewskisouza1359
    @eduardofridryszewskisouza1359 4 года назад

    Man, I love your channel, it's amazing. Thanks for the teaching. Keep it up.

  • @snookems17
    @snookems17 4 года назад

    Nice one. Can´t wait on part 2.

    • @juliocodes
      @juliocodes  4 года назад +1

      Coming later today!

    • @snookems17
      @snookems17 4 года назад

      @@juliocodes cool. Thank you.

  • @nayeemuddin4625
    @nayeemuddin4625 4 года назад

    Awesome!!!! So much interested to to do this with you. Thanks a lot for this one!!

  • @Cubesan1202
    @Cubesan1202 4 года назад

    In the Java script part of the video, why are adding the class(.menu-open) to header and not to the .nav-list (where the opacity and scale need to be changed)?

  • @abhirukprashan221
    @abhirukprashan221 4 года назад

    You're great! Bro ! !😎

  • @romelmadray6706
    @romelmadray6706 4 года назад

    great looking foward to the second one

  • @hamzailyas9053
    @hamzailyas9053 4 года назад +1

    What Is This ? My Navbar Is Not Working Please Fix My Issue.

  • @onlydev23
    @onlydev23 4 года назад

    Hi Julio, Which IDE are you using? Nice tutorial by the way

  • @leslinks
    @leslinks 4 года назад

    wonderful tutorial. looking forward to the next one. :-)

    • @juliocodes
      @juliocodes  4 года назад

      Thanks, coming later today!

  • @hibritusta2642
    @hibritusta2642 4 года назад

    This is a very good tutorial

  • @carlosdapaixao
    @carlosdapaixao 4 года назад +1

    Sensacional! Interessante projecto. Obrigado!

  • @ahmedhameed5469
    @ahmedhameed5469 4 года назад

    anothere one to top ur work man ^^

  • @frontendpaathshala6272
    @frontendpaathshala6272 4 года назад

    Awesome Tutorial

  • @DuyTran-ss4lu
    @DuyTran-ss4lu 4 года назад

    Awesome

  • @hermionekarinabiete9406
    @hermionekarinabiete9406 2 года назад

    Good day, the html file cant run. Once I clicked if from my files, it will load white and blank in chrome :((

  • @mounir101
    @mounir101 4 года назад

    You're great! Thank you.

  • @Cubesan1202
    @Cubesan1202 4 года назад

    Will do it, thank you.

  • @sakthivelganesan7310
    @sakthivelganesan7310 4 года назад +1

    Oh You Are Good At Coding Too...

  • @harambeinhumanform
    @harambeinhumanform 2 года назад

    bro next time you should use some familiar platforms cus kite at the moment is down
    to begin with

  • @michellewilliams1090
    @michellewilliams1090 4 года назад

    Thanks so much for this project!

  • @muratsemenov7294
    @muratsemenov7294 4 года назад

    var header = document.querySelector('.header');
    var hamburgerMenu = document.querySelector('.hamburger-menu');
    hamburgerMenu.addEventListener('click', function () {
    header.classList.toggle('menu-open');
    })
    main.js:6 Uncaught TypeError: Cannot read property 'classList' of null
    at HTMLDivElement. (main.js:6)
    See such an error, please tell me what the problem is?

  • @yassiraziz7987
    @yassiraziz7987 4 года назад

    Thank you bro you help me a lot in thus video keep gifting us. THANK YOU SO MUCH ❤❤❤

  • @alyana982
    @alyana982 2 года назад

    Sr plzz guide me ....what software u use in this video

  • @AndyDev404
    @AndyDev404 4 года назад

    Good job!

  • @djumalon1
    @djumalon1 4 года назад

    why after before and root is not highlighted in styles.css using sublime text

  • @itsmo2312
    @itsmo2312 Год назад

    Can some one help me my Mac bar button on the top right won’t open.

  • @Kind123
    @Kind123 4 года назад

    Thankyou Sir

  • @hibritusta2642
    @hibritusta2642 4 года назад

    Hello, I just subscribed to your channel and I liked your videos very much.
    Can you do responsive web design for facebook?
    Can you prepare a tutorial on this?
    Facebook's homepage is very complex. I think it will be a good tutorial video.

  • @LinhNguyen-tt1kj
    @LinhNguyen-tt1kj 4 года назад

    hi Julio! when starting to design the interface. I should design on mobie first or computer first

    • @juliocodes
      @juliocodes  4 года назад

      Whichever you’re most comfortable with. I personally prefer mobile first since a lot of the initial styles one writes are already mobile friendly so makes no sense to change them for larger screens only to later change them back to mobile with media queries

    • @LinhNguyen-uw7go
      @LinhNguyen-uw7go 4 года назад

      Julio Codes thanks you so much.can i talk about with you on instagram

  • @ahmedhameed5469
    @ahmedhameed5469 4 года назад

    cool maxx ur awssomm

  • @thetremendousgallery1717
    @thetremendousgallery1717 2 года назад

    Ive been struggling to open and work with "kite"

  • @Rvnlyz
    @Rvnlyz 3 года назад

    what software you are using?

  • @anuj7286
    @anuj7286 4 года назад

    I have a question like in safari browser doesn't support webp format images and ios has different input fields and select fields styles and don't i know how to fix it in css by using webkit-appreance:none and i put meta tags also to fix these problems so please make a video on how to fix issues in safari doesn't support.

    • @Adoobie6
      @Adoobie6 4 года назад

      I'm having the same problem, let me know if you find a solution.

  • @victoria-exito
    @victoria-exito 3 года назад

    Hi Julio! the code is incomplete in Github

  • @briandotes
    @briandotes 4 года назад

    can i ask what plugin you are using coz i see u press tab and it will regenerate the html code.

    • @juliocodes
      @juliocodes  4 года назад

      I'm using emmet, most modern text editors have this plugin built in.

  • @arathingzzz2308
    @arathingzzz2308 2 года назад

    sir, my main.js is not working, how can I fix that? Thanks

  • @mahmoudbayat4839
    @mahmoudbayat4839 4 года назад

    we wait you on sunday

  • @northremembers5455
    @northremembers5455 2 года назад

    Bro does this have backend in it??

  • @lukelewis6394
    @lukelewis6394 3 года назад

    I'm using notepad++ can you please tell me what the css file is?

  • @dhritimajumdar3397
    @dhritimajumdar3397 4 года назад

    Javascript code is not working can you please help me

  • @ardatobelay5865
    @ardatobelay5865 4 года назад

    You can build a template for the barbershop ?

  • @northremembers5455
    @northremembers5455 2 года назад

    Does this project has backend

  • @nikhilrathod9319
    @nikhilrathod9319 2 года назад

    upload completed version of this project, i have to submit it urgently.

  • @lukelewis6394
    @lukelewis6394 3 года назад +1

    Is noone else's like his? Or is it just me? I'm using notepad++ and the style things are slightly working but not working the way his does.

  • @bishaladhikari8691
    @bishaladhikari8691 3 года назад

    but how we can book the room ?

  • @MadaraUchiha18190
    @MadaraUchiha18190 3 года назад

    Which code editor is this? Is this sublime text editor?
    Pls reply🙁

  • @DiverseDose24
    @DiverseDose24 4 года назад

    What after submitting the form how the website holder will come to know about the users data submitted?

    • @antonveber3541
      @antonveber3541 4 года назад +2

      You need backend (server) part for it

  • @ItzJesse5
    @ItzJesse5 4 года назад

    Can you maybe make a tutorial on how to make a webshop with an option to pay?

    • @juliocodes
      @juliocodes  4 года назад

      For the time being it's not likely. In the future when I'm able to dedicate more time to RUclips it's possible.

  • @anushalekhireddy9732
    @anushalekhireddy9732 3 года назад

    does it have database
    ?

  • @Amminnn
    @Amminnn 4 года назад

    Why did he set position: relative to the hamburger-menu here: 13:31
    I have already tried to remove it and put it back to notice the difference and see what it really does but didn't help.
    I hope someone will reply soon, thanks a lot

    • @juliocodes
      @juliocodes  4 года назад +1

      It’s mentioned on the video. Makes it so that I am able to use z-index which makes the hamburger menu stay on top of all the content on the site when active

    • @Amminnn
      @Amminnn 4 года назад

      @@juliocodes I don't know how to thank you for all of this art
      You are a legend thanks to you

  • @dhunganaatish8643
    @dhunganaatish8643 3 года назад

    please provide the full code link of github

  • @h.eduardolosoya9493
    @h.eduardolosoya9493 2 года назад

    soooo can someone explain what the CSS file is? and how can i get it?

    • @LokirofRoriksted
      @LokirofRoriksted 2 года назад

      CSS is the designer tool of HTML. You can add styles there, like, background color, font size, add animations for buttons and mouse overs etc.
      Download the files in the description of the video (github link)

  • @dhunganaatish8643
    @dhunganaatish8643 3 года назад

    i really need full code link bro please help me

  • @ayushkssk
    @ayushkssk 3 года назад

    Can anyone give me complete source code...!?

  • @edwardsolang6071
    @edwardsolang6071 4 года назад

    i've got some error ma javascript doesnt work when i click tht icon

    • @toby7287
      @toby7287 3 года назад

      did you manage to fix it? I got same problem.. Help

    • @TheIEEE2011
      @TheIEEE2011 3 года назад

      @@toby7287 same problem here

  • @deroqueaj5851
    @deroqueaj5851 2 года назад

    Does this have admin page?

  • @itsmo2312
    @itsmo2312 Год назад

    Can some one please drop the codes

  • @ashishjha1783
    @ashishjha1783 3 года назад

    Can u provide me ur source code

  • @romelmadray6706
    @romelmadray6706 4 года назад

    Prefer the bite size coding exercises

  • @zainabjassim5129
    @zainabjassim5129 3 года назад

    Language arabic please☹️

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 4 года назад

    sry trush you speak in one flow one line don't explain what happen in result not result explain. It are healthy sleeping pill.

  • @Jet1323
    @Jet1323 3 года назад

    you need to stop using divs

  • @victoria-exito
    @victoria-exito 3 года назад

    Your Github is a fraude, it is incomplete...

    • @juliocodes
      @juliocodes  3 года назад

      I never said there would be complete files there. Only files to get you started with the project. You’re not going to find the easy route here, if people truly want to learn they will have to write every single line of code

    • @victoria-exito
      @victoria-exito 3 года назад

      @@juliocodes u r a fraude confirmed with your own words! Faaaaaake

    • @juliocodes
      @juliocodes  3 года назад

      @@victoria-exito No, you’re just lazy

    • @victoria-exito
      @victoria-exito 3 года назад

      @@juliocodes you are just selfish. You are mean because others were mean with you! selfish better videos with nice people that know how to SHARE KNOWLEDGE. FRAUDE