SpaceX Website Clone - HTML, CSS & JavaScript

  Рет қаралды 89,336

Traversy Media

Traversy Media

Күн бұрын

In this video, we will re-create parts of the SpaceX website including the homepage, menus, and some inner pages. We will create some animations and use JavaScript to manipulate the DOM.
Sponsor: Hostinger (10% off):
hostinger.com/traversymedia
Github Repo:
github.com/bradtraversy/space...
Live Demo:
traversydemo.dev
Website & Courses:
traversymedia.com
Timestamps:
0:00 - Intro
0:37 - Hostinger Sponsor
1:39 - Project Demo
4:38 - Header/Navbar HTML & CSS
17:23 - Menu Underline Animation
22:52 - Homepage Section A
30:22 - Button & Hover Animation
38:29 - Fade In & Up Animation
44:40 - Scroll Arrow Animation
49:29 - Remaining Homepage Sections
53:30 - Footer
58:29 - Media Queries
1:04:25 - Hamburger Icon & Open Animation
1:12:22 - JavaScript For Open Toggle
1:14:30 - Dark Overlay
1:18:32 - Remove Scroll On Open
1:19:40 - Side Menu HTML & CSS
1:33:00 - Inner Page & Fade Animation
1:42:20 - Stats Counter HTML & CSS
1:46:07 - Stat Counter JavaScript
2:00:00 - Inner Page Responsiveness
2:02:40 - Remaining Inner Pages
2:08:27 - Deploy To Hostinger (Using Git)

Пікірлер: 122
@TraversyMedia
@TraversyMedia Жыл бұрын
I have decided to do another video turning into a React project. Maybe even use something like Strapi for page content
@abhaythakur8572
@abhaythakur8572 Жыл бұрын
can't wait
@sandeepkprasad92
@sandeepkprasad92 Жыл бұрын
Great idea.
@ts3798
@ts3798 Жыл бұрын
Hey Brad. Any plans on redoing the Node API Masterclass, maybe with something like Fastify instead of Express? As always, thanks for the free content.
@pelumini
@pelumini Жыл бұрын
Maybe you'll use Typescript for this?
@shlomominkowicz65
@shlomominkowicz65 Жыл бұрын
Yes!! Please do. Always love your React style projects, or maybe even full stack Next.js with mongoDB!
@SvetaSveta-ms4hi
@SvetaSveta-ms4hi Жыл бұрын
3 minutes in I already know you're gonna knock it out of the park with this project. Love this channel so much. Truly life-changing. Thanks for sharing your knowledge and experience with us. ❤️
@draigan
@draigan Жыл бұрын
I made the button as it actually is. Thanks for the tutorial Traversy! .btn { position: relative; display: inline-block; cursor: pointer; text-align: center; min-width: 130px; padding: 15px 50px; margin-top: 10px; border: 2px solid white; text-transform: uppercase; overflow: hidden; font-weight: 400; } .btn::before { position: absolute; content: "hey"; left: 0; bottom: 0; background-color: white; height: 100%; width:100%; transform: scaleY(0); transform-origin: top; transition: transform .4s cubic-bezier(0.23, 1, 0.320, 1); } .btn:hover::before{ transform: scaleY(1); transform-origin: bottom; } .btn span { position:relative; } .btn:hover span { color: black; }
@satyasridevi851
@satyasridevi851 Жыл бұрын
Thank you so much for this code
@TylerNicholson-ee6cf
@TylerNicholson-ee6cf Жыл бұрын
Hey man I just want to say thank you so much for uploading videos like this! A few months back I was struggling to build websites by myself and felt kinda stuck watching endless tutorials and not really taking stuff in properly. The secret I suppose is to take the information from these videos and just build things on your own. I can now say that I am a lot more independent as a lot of the content you upload has been super informative and whenever I watch I keep having a lot of 'light bulb' moments and something in my head is like ahh that makes total sense now lol. Anyone that is reading this if you haven't already, I suggest having a go at the free Frontend Mentor or Frontend Practice projects and just working through them on your own, even if you start to feel frustrated and stuck I assure you you'll retain knowledge so much easier by finding stuff out for yourself.
@janisdregeris248
@janisdregeris248 Жыл бұрын
Thanks Traversy for your content, time spent on it. I must say I have learned a lot from your channel and found Web Dev position in IT field and cant stop learning from You. Thanks and happy coding :)
@mosesnandi
@mosesnandi Жыл бұрын
Traversy...this was super sweet...such a smooth tutorial. Even more important was when you acknowledged the tips you got from some of your viewers. Or the fact you had to check the button animation from the SpaceX website because you haven't done it before...and you mentioned that..You could have just stayed quiet but you didn't. Superb! ...Those qualities are rare in this industry.
@jesse4011
@jesse4011 Жыл бұрын
Thank you so much for these. I know many of us really do appreciate these and learn so much from then. Thank you for all that you do.
@techwithbekas
@techwithbekas Жыл бұрын
Thanks brad, just another amazing clone website with an amazing instructor .
@mbm6048
@mbm6048 Жыл бұрын
Haven't even watched but I know it's gonna be a banger.keep it up brad
@amanashra1607
@amanashra1607 Жыл бұрын
Amazing Sir , i have watched your whole HTML & CSS playlist it gives so much confidence to me as a front end Developer
@ztcanada_1
@ztcanada_1 Жыл бұрын
Helpline 📲📩 QUESTIONS CAN COME IN☝️⬆️ ⬆️....
@almirk.479
@almirk.479 Жыл бұрын
Great video man , thanks a lot, i really like these clone projects. I wish you all the best
@gabrielokundaye1502
@gabrielokundaye1502 Жыл бұрын
Dope clone! Nice video production. Loving your videos...
@RockstahRolln
@RockstahRolln Жыл бұрын
GREAT content as always!! Looking forward to giving this a go later! Thank You!!
@neutrallane
@neutrallane Жыл бұрын
Nice one Brad. For me I am in love with responsive nav bars. This was super cool for me 🤩🤩🤩🤩🤩
@alvirarahman1559
@alvirarahman1559 Жыл бұрын
Love it as usual Brad, can you please do more Angular videos? Especially project for beginners?
@tensegamer1539
@tensegamer1539 Жыл бұрын
i love your courses and im so glad i came across you on udemy
@reggiebdog
@reggiebdog Жыл бұрын
Wonderfully made and presented! I really get so much from your videos.
@EricShans
@EricShans Жыл бұрын
great content as always Brad!
@SergioOlivieri89
@SergioOlivieri89 Жыл бұрын
It wrould be imteresting to see a clone creation like this but with web accessibility in mind!!
@luisbranco4060
@luisbranco4060 Жыл бұрын
Wow! It works! The first time i tried it took forever to activate and when I disabled my antivirus it worked like in less than a minute! Thanks bro!
@robertzohrabyan3316
@robertzohrabyan3316 11 ай бұрын
Please continue to build this website, thank you very much
@alesmahoney7368
@alesmahoney7368 Жыл бұрын
Thanks Brad. You are awesome❤
@jonathonkiner7415
@jonathonkiner7415 Жыл бұрын
I get so excited when i see videos like this haha.
@sanjaybatak3549
@sanjaybatak3549 Жыл бұрын
Thank You Traversy. You are a Legend, I hope you know that!!
@HypeHarborHub
@HypeHarborHub Жыл бұрын
Always impressed, done a lot of the clones and always learn something new. Do you use any tools to help you get the logos and images for these clones? Would like to practice by cloning other websites on my own.
@nisa-wk7gm
@nisa-wk7gm Жыл бұрын
great work as always. do you have any idea of the issue with the scrollbar when the side menu is open? overflow:hidden makes the scrollbar disappear, which changes the position of the hamburger button.
@ashik_moosa
@ashik_moosa Жыл бұрын
I liked the video before watching 😅 Knows you will deliver something solid everytime
@gagansinghbatth5604
@gagansinghbatth5604 10 күн бұрын
Really appreciate your work and unbiased view point share by you out of your heart...
@igweachijesseobinna4584
@igweachijesseobinna4584 Жыл бұрын
We love u brad thank you for this
@igweachijesseobinna4584
@igweachijesseobinna4584 Жыл бұрын
@WhatsApp±1217𝟽𝟻𝟶𝟹𝟹33 Traversy Medi Good day brad my name Jesse I must say I've you've really blessed me with all of your videos I've watched
@sadique_x_
@sadique_x_ Жыл бұрын
Life changing channel💯❤✅
@FascalRanky
@FascalRanky Жыл бұрын
Thanks, looks great.
@filipevalentegomes2383
@filipevalentegomes2383 Жыл бұрын
Pretty cool, would love to see GSAP with react. There aren’t many videos on KZbin about that
@souravray7448
@souravray7448 4 ай бұрын
Thanks man for your wonderful content.
@bipuljha792
@bipuljha792 Жыл бұрын
Thanks a lot Brad for this. This has to be one of the most challenging project I've made following you. However, I often thought about why and how we're using the position property like why section is positioned as relative and section-inner as relative and not the other way around. Can anyone please help me with this? Even a reference from where I could read in depth about this will be very much appreciated. Thanks Keep up the good work, Cheers!
@KingZuluKing
@KingZuluKing 5 ай бұрын
Amazing job, really, can you please continue building this website it is very interesting
@abualmaruf8901
@abualmaruf8901 11 ай бұрын
Thank You . Learn a lot from bangladesh
@hassaneoutouaya
@hassaneoutouaya Жыл бұрын
Thank you so much Mr !
@JefrusOk
@JefrusOk 3 ай бұрын
The hover effect on the menu items is really cool. How does it translate to mobile devices where you cant hover? Does that mess it up? Would you need to redesign it to work on mobiles?
@dalziboy
@dalziboy 11 ай бұрын
Can you make a tutorial for GSAP? PLEASE it would be very useful. Love your work, keep it up!
@ilikelearning6427
@ilikelearning6427 Жыл бұрын
Yes,back to the roots! Great job Brad, I've watched dozens of your HTML/CSS videos and Udemy tutorials yet I am still smiling whenever you upload a video with HTML/CSS tutorial
@isaacjon
@isaacjon Жыл бұрын
Brad thank you bro
@DmitrySafarov
@DmitrySafarov Ай бұрын
Great course!
@benacker8525
@benacker8525 Жыл бұрын
Disable PostCSS extension and your autocomplete in CSS will work
@emil4483
@emil4483 Жыл бұрын
Hi Brad (and everyone else having a problem with the lack of autocompletion in their css), all through the 'PostCSS Language Support' extension - automatic language detection opens css files via this extension, which appears to natively have no autocompletion. You can manually change PostCss to Css in language detection (in the vs code window, at the bottom, next to the information about port, prettier, etc.)
@ztcanada_1
@ztcanada_1 Жыл бұрын
Helpline 📲📩 QUESTIONS CAN COME IN☝️⬆️ ⬆️...
@spaceorbust6636
@spaceorbust6636 Жыл бұрын
The video is about 2 hours long and you stepped through all the code, but I'm just curious, how much work did it take you to actually code all this before even getting to the video production part? You clearly had all these topics ready to go, were well rehearsed, etc.
@shayanhdry6224
@shayanhdry6224 Жыл бұрын
hi brad your tutorials are great. I have a question from you . I know front end materials also react js but for back end what do you suggest? I know C sharp and javascript good so between asp.net core and node js which one you suggest to learn ? and is it better as a front end developer find a job then start to learn back end or first become a full stack developer and then find a job for back end or full stack developer positions?
@ztcanada_1
@ztcanada_1 Жыл бұрын
Helpline 📲📩 QUESTIONS CAN COME IN☝️⬆️ ⬆️...
@richardwilliam7030
@richardwilliam7030 Жыл бұрын
Hey Brad I'm waiting for your react native course And probably golang course on udemy. I will pay a million for that😌
@schoolbeans2968
@schoolbeans2968 Жыл бұрын
Hey, what's the theme for your vscode ? It looks amazing !
@abubakaryasin8610
@abubakaryasin8610 Жыл бұрын
This is the best project 👋
@stephanemo2135
@stephanemo2135 Жыл бұрын
Waow, great, great, (great) content. Thanx a lot.
@novavidanovocomeco957
@novavidanovocomeco957 Жыл бұрын
thank you so much , it worked
@KylePrinsloo
@KylePrinsloo Жыл бұрын
This should've been sponsored by Elon Musk man 😂 what an amazing walk-through!
@amanashra1607
@amanashra1607 Жыл бұрын
Brad Sir ,I want to ask one thing that when we scroll up that navbar is going to combined with whole page we can do to ..don't happen this
@artilleryvoodoo
@artilleryvoodoo Жыл бұрын
Does anyone understand why .hover box always remains on top of the .btn if you give it a value of 0 or more; ?? I tried giving the .btn a z-index of 50 and the span a z-index of 100 and the .hover element was still on top. The only value that works to make it sit under the span is -1. What goes on here?
@mohammedabdulaziz3658
@mohammedabdulaziz3658 Жыл бұрын
Excellent SIR
@vinaypatil8009
@vinaypatil8009 Жыл бұрын
Sir please make same kind of project building video's with Reactjs also.
@iamhassanhashmi
@iamhassanhashmi Жыл бұрын
Amazing ♥️
@iamhassanhashmi
@iamhassanhashmi Жыл бұрын
Scaaaaaaaaam scaaaaaaam scaaaaaaam and Use the name or traversy media #traversy media @traversy media
@frank-il3zm
@frank-il3zm Жыл бұрын
nice bro
@alirezabarzeh2781
@alirezabarzeh2781 Жыл бұрын
Please make a Django project with Celery and teach it, for example, the types of tasks Celery can write, because I can't understand Celery at all, I couldn't find a proper tutorial with Celery either.
@DireSwift
@DireSwift Жыл бұрын
Great video as always! I like going through these clones to see how others go about structuring their projects. Just shy of 2 hours in but I wanted to share the changes I made to the countUp function to account for the larger numbers on spacex now and to slow it down near the end like their counter does: function countUp() { counters.forEach((counter) => { counter.innerText = '0'; let updateTime = 1; const updateCounter = () => { // Get count target const target = +counter.getAttribute('data-target'); // Get current counter value const currentValue = +counter.innerText; // Calculate distance between current value and target const distance = target - currentValue; // Calculate increment based on distance let increment = distance / 100; if (increment < 1) { increment = 1; } if ((currentValue / target) > .97){ updateTime = 100; } if (currentValue < target) { // Round up and set counter value counter.innerText = `${Math.min(Math.floor(currentValue + increment), target)}` setTimeout(updateCounter, updateTime); } }; updateCounter(); }); }
@augustuscaeser8939
@augustuscaeser8939 Жыл бұрын
if its a rocket ship website, youd think theyd animate the rocket ship to lift off and go up as you are scrolling through the page
@harry4088
@harry4088 Жыл бұрын
Hey Brad can u tell me u r vscode font settings please !
@frockygarcia2004
@frockygarcia2004 Жыл бұрын
Hi brad, I saw a page on fb that uses your intro. Is it okay?
@FrankSmith-nq9tw
@FrankSmith-nq9tw 9 ай бұрын
When you want to split flex items, you use margin, why not use column-gap?
@nikhuge6580
@nikhuge6580 Жыл бұрын
Hi mr traversy ….can you do a full stack video on vuejs and express…..
@jabezahouansou8024
@jabezahouansou8024 Жыл бұрын
WoW !
@swapnildhiman2032
@swapnildhiman2032 Жыл бұрын
Thankyou sir
@andresgarciaalves
@andresgarciaalves Жыл бұрын
Awesome
@manindra502
@manindra502 Жыл бұрын
I have one doubt, Can't we get html & css from browser inspect tools
@ztcanada_1
@ztcanada_1 Жыл бұрын
Helpline 📲📩 QUESTIONS CAN COME IN☝️⬆️ ⬆️..
@adilkevin6220
@adilkevin6220 Жыл бұрын
Please create a clone application using react js for the below application 1)Teams 2)twitter 3)udemy 4)KZbin 5)Facebook 6)Chatbot application 7) Stock Exchange application 8)Google Maps
@yorokobi9498
@yorokobi9498 Жыл бұрын
Bruh
@jonathan-3008
@jonathan-3008 Жыл бұрын
Clever programmer has already done most of those, also Javascript Mastery
@adilkevin6220
@adilkevin6220 Жыл бұрын
@@jonathan-3008 can you ping me the URL?
@bikramchettri9405
@bikramchettri9405 Жыл бұрын
Cool
@naczelnypsycholog6296
@naczelnypsycholog6296 Жыл бұрын
why you don't use rem and em just px ? 😝
@ismoiljonabduqahhorov5825
@ismoiljonabduqahhorov5825 Жыл бұрын
What if we do transparent text "REWATCH" button on hover ?
@ztcanada_1
@ztcanada_1 Жыл бұрын
Helpline 📲📩 QUESTIONS CAN COME IN☝️⬆️ ⬆️...
@TayambaMwanza
@TayambaMwanza Жыл бұрын
SpaceX is using angular right?
@proribrajokproribrajok7789
@proribrajokproribrajok7789 Жыл бұрын
Do i need problem solving skill for web development?
@ztcanada_1
@ztcanada_1 Жыл бұрын
Helpline 📲📩 QUESTIONS CAN COME IN☝️⬆️ ⬆️....
@uchubiloemmanuel342
@uchubiloemmanuel342 Жыл бұрын
Please can you make a Dart crash course.
@untildev8530
@untildev8530 Жыл бұрын
34:27 34:32 me everytime i open my vs code
@mylesprospero8105
@mylesprospero8105 Жыл бұрын
You sound like Improvement Pill
@444NRG
@444NRG Жыл бұрын
can you clone apple’s website next?
@ztcanada_1
@ztcanada_1 Жыл бұрын
Helpline 📲📩 QUESTIONS CAN COME IN☝️⬆️ ⬆️...
@alexandernewland7420
@alexandernewland7420 Жыл бұрын
Anyone else having a problem with the increment variable?
@ztcanada_1
@ztcanada_1 Жыл бұрын
Helpline 📲📩 QUESTIONS CAN COME IN☝️⬆️ ⬆️...
@hb20007
@hb20007 Жыл бұрын
You can just set the increment to 1: _const increment = 1;_ And you won't need Math.ceil(). The result is exactly the same.
@Arabian_Epileptic
@Arabian_Epileptic Жыл бұрын
Thanks Brad, Elon Musk should hire you :)
@KomalMYM
@KomalMYM 9 ай бұрын
1:04:59
@dragonreborn2141
@dragonreborn2141 Жыл бұрын
In Start Counter JavaScript part, I didn't need to to add flags in this code: `window.addEventListener('scroll', () => { const scrollPosition = window.scrollY; if (scrollPosition > 100) { countUp(); } else if (scrollPosition < 100) { resetCounter(); } })` And it works as intended, shows counter when I scroll down and resets it when I scroll up. I had no need for scrollStarted()
@beomseok5957
@beomseok5957 Жыл бұрын
Helpline📲📥⬆️ Question can come in⬆️..
@cavidanbagiri7837
@cavidanbagiri7837 Жыл бұрын
We Stand With Ukraine. Firstly oblige Ukraine for fighting with brothers->Russians, then we stand. Suka America. Traversy Thanks for everything
@twoplustwoequals5733
@twoplustwoequals5733 Жыл бұрын
quite funny that SpaceX wants to put ppl on The Moon and Mars, but they have kind of amateur website xD
@HankTheTankCoding
@HankTheTankCoding Жыл бұрын
First here Sir ❤️
@irenestokes211
@irenestokes211 Жыл бұрын
Pᵣₒmₒˢᵐ
@hatsapp8966
@hatsapp8966 Жыл бұрын
The rich stay rich by spending like the poor and investing without stopping then the poor stay poor by spending like the rich yet not investing like the rich
@tarnow1236
@tarnow1236 Жыл бұрын
I countlessly share my experience with co-workers at work, on how I made $23,000 from $2,000 in 21days of trading
@isabellakate3429
@isabellakate3429 Жыл бұрын
I just looked him up on google and he's a licensed broker, I am contacting him right away, thanks
@kevinschulz9770
@kevinschulz9770 Жыл бұрын
I dont know, watching a guy just code, writing without explaining anything is boring and less educational than you might Expect.
@tsamansumbane2318
@tsamansumbane2318 Жыл бұрын
Best teacher
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 861 М.
Are You Too Dumb To Code? A Chat About Imposter Syndrome
7:08
Traversy Media
Рет қаралды 60 М.
Mac & Cheese Donut @patrickzeinali @ChefRush
00:53
albert_cancook
Рет қаралды 193 МЛН
LA FINE 😂😂😂 @arnaldomangini
00:26
Giuseppe Barbuto
Рет қаралды 11 МЛН
Don't Waste!🚫 Turn Ham Into Delicious Food😊🍔 #funnycat #catmemes #trending
00:25
Top 10 Advanced CSS Responsive Design Concepts You Should Know
20:16
Web Dev Simplified
Рет қаралды 485 М.
Stop Worrying About AI!
6:40
Traversy Media
Рет қаралды 45 М.
Learn CSS flexbox in 10 minutes! 💪
10:01
Bro Code
Рет қаралды 89 М.
System Design: Design a URL Shortener like TinyURL
16:00
Code Tour
Рет қаралды 73 М.
What Is an AI Anyway? | Mustafa Suleyman | TED
22:02
TED
Рет қаралды 299 М.
Useful & Responsive Layouts, no Media Queries required
11:03
Kevin Powell
Рет қаралды 162 М.
20 Essential VS Code Extensions In 2024
14:26
Traversy Media
Рет қаралды 103 М.
20 Browser Extensions For Web Design & Development
14:27
Traversy Media
Рет қаралды 38 М.
How to create a CSS navigation bar in 6 minutes! 🧭
6:28
Bro Code
Рет қаралды 161 М.
Vortex Cannon vs Drone
20:44
Mark Rober
Рет қаралды 10 МЛН
Which Phone Unlock Code Will You Choose? 🤔️
0:12
Game9bit
Рет қаралды 1,4 МЛН