Тёмный

Tesla website clone with HTML, CSS and Javascript 

Coding With Dawid
Подписаться 79 тыс.
Просмотров 43 тыс.
50% 1

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 106   
@jamongjuice
@jamongjuice 2 года назад
this is my very first clone coding and sir you are a fantastic tutor. i hope you blow up sooner or later!!! appreciate all your hardwork!
@rkcoder
@rkcoder Год назад
Wow, amazing. Can't believe you have such few views. You're a hidden gem! Thanks for the video!
@CodingWithDawid
@CodingWithDawid Год назад
Thank you! Yes, i hope i will get more views in the feature!
@larrylam2914
@larrylam2914 2 года назад
excellent tutorial !!! I'm learning coding and now I have a task to clone a website. Your video helps me a lot on how to make certain effects!
@CodingWithDawid
@CodingWithDawid 2 года назад
I am glad my video helped you learn some html and css! There is another one (netflix clone) coming today. Feel free to check it out and let me know what I can improve ☺️ Have a wonderful day! /Dawid
@larrylam2914
@larrylam2914 2 года назад
@@CodingWithDawid I’ll definitely watch that!
@doubleclickZA
@doubleclickZA 2 года назад
You deserve a lot more views my man, great tutorial!
@prod.bynach
@prod.bynach Год назад
Would be cool of you to display what your are typing on the screen in the corner to see some of your shortcuts. Great video
@prashlovessamosa
@prashlovessamosa Год назад
Your channel is heaven for beginners
@thagreatone402
@thagreatone402 Год назад
Amazing tutorial. To think I would’ve done this using a tailwind or bootstrap. Unnecessarily adding dependencies.
@aking4974
@aking4974 2 года назад
I have everything needed in my code however the vehicle titles only display on the first one when I scroll its blank. 42:00 section .content{ opacity:0; z-index:1; position: fixed; width: 100%; top: 0; transition: opacity .3s ease; height: 100vh; padding-top: 15vh; padding-bottom: 15vh; text-align: center; display: grid; grid-template-rows: min-content auto min-content; } section.active .content{ opacity:1; }
@shivansareen2140
@shivansareen2140 2 года назад
Hey great video! I had a question - seems like when i resize my window to mobile size, it begins to repeat the background image? It didn’t seem like it was an issue for you, but i endd up adding no-repeat to the section style in css which fixed that issue but then caused the images to not completely fill up the page. Any advice ?
@bartimois2584
@bartimois2584 2 года назад
hey can you show us how to animate the backdrop blur so it smoothly fades in and out ?
@prashantmishra5691
@prashantmishra5691 10 месяцев назад
Thanks Dawid. Subbed!
@sxis_288
@sxis_288 2 года назад
Great vid my friend ! How did you made the hrefs as group all together at the same time at 1:53 ? Is there any extension for it?
@CodingWithDawid
@CodingWithDawid 2 года назад
This was ”multiline editing” and it’s built-in in all code editors. Thanks for your comment and have a great day!
@sxis_288
@sxis_288 2 года назад
​@@CodingWithDawid Keep going dude... you are so good at coding :)
@RITIKSINGH-re5ne
@RITIKSINGH-re5ne Год назад
I use VScode: Press ctrl + alt then up or down arrow keys as required.
@darktez7454
@darktez7454 Год назад
Great work Sir! Helped me to use grids for first time and the way you were using perfect on-point functions it seemed so easy to clone Tesla 😂.... Well I need to work on JavaScript. Please suggest me some videos where I can sip it
@Sans987
@Sans987 2 года назад
Great video, question though. Is there a way to stop the scroll from breaking? Sometimes it won't go to the next section if you scroll to a certain point, and sometimes text won't even appear
@CodingWithDawid
@CodingWithDawid 2 года назад
Yes. There is sure a way to implement a padding so if you scroll just a little bit it would scroll back
@muhammadsafvankv9394
@muhammadsafvankv9394 Год назад
thanks for the video. and pls let me know how you selected here 10:27 write all sections tag at same time pls help. 🙏
@terrygore3945
@terrygore3945 2 года назад
im really having problem with the background images .how do you make background images .is javasript needed if you are using css and html.cause when i do background image and i style it in the css i can only use one image . the remaining wont show i hope you get what im saying.
@harunazun6966
@harunazun6966 2 года назад
Hi david, thanks for the tutorial. "scroll.js" in don't working.Even though I copied the code you wrote, it didn't work, can you help?
@faizanalso
@faizanalso 2 года назад
thank you very much i make this webside
@faizanalso
@faizanalso 2 года назад
make more websides in html and css
@CodingWithDawid
@CodingWithDawid 2 года назад
I did: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-GVRg4YP1y10.html
@jakubmika6433
@jakubmika6433 2 года назад
Thank you for your tutorial! Where are you from btw?
@CodingWithDawid
@CodingWithDawid 2 года назад
Poland 🇵🇱
@jakubmika6433
@jakubmika6433 2 года назад
@@CodingWithDawid no to witam serdecznie! Twój filmik pomógł mi w nauce front-endu. Wielkie dzięki!
@robertosannazzaro2819
@robertosannazzaro2819 2 года назад
Fantastic video! What do you use to record then screen?
@CodingWithDawid
@CodingWithDawid 2 года назад
OBS
@ab_semi
@ab_semi 2 года назад
Hi David, thanks for the tutorial. However, my middle pages are not becoming active and therefore I guess they are not showing the content h1. What to do? (For scroll.js, I copied the code from comments here)
@CodingWithDawid
@CodingWithDawid 2 года назад
Check maybe with the source code: github.com/dejwid/tesla-clone
@ab_semi
@ab_semi 2 года назад
@@CodingWithDawid Downloaded your entire folder. Still the same problems: scrolling is not working as it should. In inspect I see the class active only at the first page and if i go down till the end, on the last page. Middle pages are not receiving active class name
@ab_semi
@ab_semi 2 года назад
@@CodingWithDawid , It seems I can not see your repozitoriy as a normal website, can you turn this option on? Then I would check it on my mobile, maybe it is my Visual-Studio-run-server is creating a problem...
@ab_semi
@ab_semi 2 года назад
@@CodingWithDawid , I copied all of your files into my repositorium and checked on my iphone: no, the code is not working the way it should on iPhone
@YbbsSk8
@YbbsSk8 Год назад
hi; thanks for the video. sadly the js code for scrollingdoes not work for me. I have a Site in Divi Theme with 6 Sections, if I implement the code my sections disappear, cause all of them get the class active. Do you have a solution for this or somebody had the same issue? Thanks a lot.
@sumitshelar25
@sumitshelar25 2 года назад
can you provide github link of this project
@1000guerra
@1000guerra 2 года назад
did you create this design or did you get the figma ready?
@CodingWithDawid
@CodingWithDawid 2 года назад
No figma. I just copied the look of the site by looking on it and i copied all images from there.
@facetank222
@facetank222 2 года назад
thanks bro, great tutorial
@deepakks1605
@deepakks1605 Год назад
Can we use scroll-snap-type: y mandatory for the scroll effect
@real_deadpool
@real_deadpool Год назад
Thank you brother this video is really helpful you are awesome make more video on website clone
@CodingWithDawid
@CodingWithDawid Год назад
sure, what websites? any recommendations?
@real_deadpool
@real_deadpool Год назад
@@CodingWithDawid clone with using HTML CSS JS , - Facebook - Nike - Adidas - Instagram - RU-vid page - Netflix - prime - etc etc
@firojpaudel
@firojpaudel Год назад
when you scroll just once, sections appear but if you start scrolling fast, sections dont appear ...
@JuanFernandez-lg2pd
@JuanFernandez-lg2pd Год назад
Crazy work!!!!!!!
@kronos7455
@kronos7455 Год назад
Uncaught SyntaxError: missing ) after argument list. any solution? i did exatly like you did. error in this line document.querySelector(selectors:'.backdrop').className = 'backdrop active';
@turan5058
@turan5058 Год назад
i did not understand grid-template-rows: min-content auto min-content; here can we do this another way ?
@jamesjames9193
@jamesjames9193 Год назад
URL for the Source Code File (completed)?
@prashlovessamosa
@prashlovessamosa Год назад
This is awesome
@ericnguyen7462
@ericnguyen7462 2 года назад
great video. Thanks.
@ritrikrohra3289
@ritrikrohra3289 2 года назад
Great video man, so informative, thankyou ❤️
@sxis_288
@sxis_288 2 года назад
Could you please upload the Js on a dropbox for the scroll because it doesnt work for me ?
@CodingWithDawid
@CodingWithDawid 2 года назад
Here: github.com/dejwid/tesla-clone/blob/master/scroll.js Sorry for the late response
@sxis_288
@sxis_288 2 года назад
@@CodingWithDawid Thanks buddy ! :)
@mahdialyari1989
@mahdialyari1989 5 месяцев назад
nice coding bro.
@aleksander7245
@aleksander7245 2 года назад
this video is awesome but i don't know why scrolling work only on phone any ideas?
@CodingWithDawid
@CodingWithDawid 2 года назад
have you tested it using google chrome on desktop?
@shagunsaxena
@shagunsaxena 2 месяца назад
Hi Dawid I liked your video. I have doubt at timeline of 40min the scroll is not working smooth for me , it going too slow as it worked for you earlier. attaching code that i followed. could suggest me where it's wrong . document.lastScrollPosition = 0; document.lastCentered = 0; document.onWayTo = null; document.addEventListener('scroll', () => { const direction = window.pageYOffset -document.lastScrollPosition > 0 ? 'down' : 'up'; const sections = [...document.querySelectorAll('section')]; const destIndex = direction === 'up' ? document.lastCentered - 1 : document.lastCentered + 1 if (destIndex >= 0 && destIndex < sections.length) { console.log({ destIndex, direction }); document.onWayTo = destIndex; window.scroll(0,sections[destIndex].offsetTop); } sections.forEach((section,index) => { if(window.pageYOffset === section.offsetTop){ document.lastCentered = index; if(document.onWayTo === index){ document.onWayTo = null; } } }) document.lastScrollPosition = window.pageYOffset; })
@allAboutGoodness
@allAboutGoodness 7 месяцев назад
Idk why my Tesla logo isn't visible
@willyframadhan
@willyframadhan 2 года назад
alright ive done it, now where is my tesla?
@CodingWithDawid
@CodingWithDawid 2 года назад
Your tesla waits for you to learn programming and land a 6-figure-job, so you can buy it. 😉
@vasimhubli2042
@vasimhubli2042 9 месяцев назад
Why don't you do it responsive?
@Brianna_silva
@Brianna_silva 2 года назад
I have a problem with JavaScript, as it's doesn't work ans I can't seem to find the problem, anyone else?
@CodingWithDawid
@CodingWithDawid 2 года назад
do you get any error in the browser console?
@Brianna_silva
@Brianna_silva 2 года назад
I found the solution! The query selector wasn't working, so when I changed it to getElementbyID it works perfectly! Amazing tutorial
@mayanknarang5516
@mayanknarang5516 2 года назад
@@Brianna_silva can you explain it a lit more?
@sxis_288
@sxis_288 2 года назад
@@mayanknarang5516 like this document.querySelector('.backdrop').className = 'backdrop active'; document.querySelector('aside').className = 'active';
@aking4974
@aking4974 2 года назад
@@sxis_288 mines still doesn’t work “selectors” doesn’t have the highlighted tag block as shown in the tutorial for me
@junchenghou1750
@junchenghou1750 2 года назад
can anyone show me how to get those pictures from a website? I am very confused,
@CodingWithDawid
@CodingWithDawid 2 года назад
Here you have zip file with all the photos: dawid.link/tesla.zip
@RNAM_18
@RNAM_18 Год назад
i did not understand what you did from the 9:40 minute to the 10:55 how to do that
@CodingWithDawid
@CodingWithDawid Год назад
you mean the images? i just downloaded them using terminal
@RNAM_18
@RNAM_18 Год назад
@@CodingWithDawid l have a Mac so should I do something else in that terminal
@CodingWithDawid
@CodingWithDawid Год назад
I use mac too! ☺️
@CodingWithDawid
@CodingWithDawid Год назад
You can download them by just entering the link in your web browser
@RNAM_18
@RNAM_18 Год назад
@@CodingWithDawid thank you so much
@Karma-kx2hf
@Karma-kx2hf 2 года назад
Hi, My scroll.js is not working. could you please help me?
@Karma-kx2hf
@Karma-kx2hf 2 года назад
while scrolling only the first sections contents are visible, when we scroll and get the second section no content is visible
@CodingWithDawid
@CodingWithDawid 2 года назад
can you share your code?
@Karma-kx2hf
@Karma-kx2hf 2 года назад
@@CodingWithDawid Thankyou so much for replying Dawid. Here is the file drive.google.com/file/d/10hwRaja7WynvvX0yOZAU5B-oksJ_14gL/view?usp=sharing
@mayanknarang5516
@mayanknarang5516 2 года назад
i have the same issue can you help
@nikeshbaruwal1801
@nikeshbaruwal1801 2 года назад
i cannot put my images through section tag!
@RITIKSINGH-re5ne
@RITIKSINGH-re5ne Год назад
Show me the code
@mayanknarang5516
@mayanknarang5516 2 года назад
in scroll.js when i scroll it did not regiester more than one time. pls help
@CodingWithDawid
@CodingWithDawid 2 года назад
i would need to see your code
@mayanknarang5516
@mayanknarang5516 2 года назад
@@CodingWithDawid yes sure
@mayanknarang5516
@mayanknarang5516 2 года назад
@@CodingWithDawid /Stanegrad/tesla
@mayanknarang5516
@mayanknarang5516 2 года назад
its a github repository
@mo.x9013
@mo.x9013 Год назад
I didn't find scr file😊
@mo.x9013
@mo.x9013 Год назад
Can you send me the github files ?
@emantsrifemantsal1436
@emantsrifemantsal1436 5 месяцев назад
Source code pls
@fatalfear1
@fatalfear1 2 года назад
You don’t wanna continue Reddit tutorial?
@CodingWithDawid
@CodingWithDawid 2 года назад
I do it next week. Stay tuned and see you!
@allAboutGoodness
@allAboutGoodness 7 месяцев назад
Why you're looking like Cody Rhodes 😐
@nipunsfp
@nipunsfp Год назад
@timothydanfield2978
@timothydanfield2978 2 года назад
THis is what I have for line 10 in nav.js document.getElementById('menuBtn').onclick = e => { e.preventDefault(); openMenu(); It is telling me on inspect when I try to select menu this: Uncaught TypeError: Cannot set properties of null (setting 'onclick') at nav.js:10:44 I am so close lol
@CodingWithDawid
@CodingWithDawid 2 года назад
Here is how nav.js should look like: github.com/dejwid/tesla-clone/blob/master/nav.js
@venomouserroneous6703
@venomouserroneous6703 Год назад
Many thanks for the tutorial. Sadly it doesn't work for me. I copied it exactly: document.addEventListener(type:'scroll', listener: () => { 6 31 document.addEventListener(type:'scroll', listener: () => { Expected ')' and instead saw ':'. 6 32 document.addEventListener(type:'scroll', listener: () => { Missing semicolon. 6 42 document.addEventListener(type:'scroll', listener: () => { Expected an assignment or function call and instead saw an expression. 6 50 document.addEventListener(type:'scroll', listener: () => { Missing semicolon. 6 42 undefined Unrecoverable syntax error. (15% scanned).
@CodingWithDawid
@CodingWithDawid Год назад
Have you checked the source code? Looks like you entered the hints my IDE is giving which is not part of the code
@venomouserroneous6703
@venomouserroneous6703 Год назад
@@CodingWithDawid whoops, thank you!!
@timothydanfield2978
@timothydanfield2978 2 года назад
I am new to coding say doing it for one month I think. I am getting errors on my last line is this correct formatting? document.getElementById(elementID:'menuBtn').onclick = 0 => { e.preventDefault(); openMenu(); }
@CodingWithDawid
@CodingWithDawid 2 года назад
The ”elementID:” is not part of the code i write. Its only a information/tip from my editor to let me know what kind of param is needed there
Далее
Netflix clone with HTML and CSS (tutorial for beginners)
1:26:51
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 968 тыс.
I Redesigned Popular Websites (Amazon & Google)
6:58
Просмотров 281 тыс.
October 3, 2024
42:16
Просмотров 11
min(), max(), and clamp() are CSS magic!
18:12
Просмотров 298 тыс.
How To Make A Calculator Using HTML CSS And JavaScript
19:01
Next Gen Fullstack React with TanStack
1:02:33
Просмотров 9 тыс.