Тёмный
No video :(

React Website using Styled Components and Smooth Scroll - Beginner Project Fully Responsive 

Brian Design
Подписаться 114 тыс.
Просмотров 1 млн
50% 1

Learn how to build a React website using styled components and React smooth scroll. The website is fully responsive and we will be using React Hooks and React Router for this project. The main sections are reusable components that you can customize and reuse anywhere on your site.
If you want to follow me along my coding journey, be sure to subscribe :)
/ @briandesign
Access Source Code Here (Scroll to bottom of page)
briandesigns.g...
Timeline
0:00 Website Design we're building
4:26 Creating React Project
9:18 Creating our Project Files
10:44 Creating Navbar
16:10 Styling Navbar
46:51 Creating Sidebar/Dropdown Menu
48:15 Styling Sidebar
1:07:22 Creating Home Page
1:14:21 Creating Hero Section
1:16:55 Styling Hero Section
1:32:50 Creating Button Element
1:43:12 Creating Reusable Info Section
1:47:22 Styling Info Section
2:06:08 Adding Data to Info Section
2:18:43 Adding Smooth Scroll to Info Section Buttons
2:33:18 Creating Services Section
2:37:06 Styling Services Section
2:47:53 Creating Sign In Page
2:48:39 Adding React Routes to Website
2:52:08 Creating Footer
2:59:15 Styling Footer
3:20:18 Changing Navbar background on scroll
3:24:52 Adding React Scroll to our site
3:34:20 Creating Sign In Component
3:38:52 Scroll to Top on Page/Route Change
Host your React Website for Free
• How to Host a Website ...
VS Code Theme I use
• Top 10 VS Code Themes
React Website with Styled Components using only React Router
• React Website Using St...

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

 

14 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,3 тыс.   
@David-cz7rf
@David-cz7rf 3 года назад
Great tutorial! I bought the source code, hope you can continue doing this and making new awesome vids.
@briandesign
@briandesign 3 года назад
Thanks for the support David! I plan on making more vids soon!
@achhatkumargupta2954
@achhatkumargupta2954 3 года назад
Sir this responsibility or only please say?
@SHUUUSTER
@SHUUUSTER 3 года назад
pass you source code , I don't have a credit card for a buy course
@dannyinformal
@dannyinformal 3 года назад
@@briandesign Hey Brian, my svgs and pngs will not render. I'm at a loss right now
@takeabreak5251
@takeabreak5251 3 года назад
I typed this exactly but my video is not getting played!
@mustafabahaa9201
@mustafabahaa9201 3 года назад
for anyone having issue with image not loaded make sure you type img: require('../../images/svg-1.svg').default,
@angarabozkirli
@angarabozkirli 3 года назад
still isn't loading, it find the location of .svg file, reads but doesn't load
@atharvaathalye
@atharvaathalye 3 года назад
@@angarabozkirli Did your problem got fixed?
@angarabozkirli
@angarabozkirli 3 года назад
@@atharvaathalye no, I didn’t try further
@atharvaathalye
@atharvaathalye 3 года назад
@@angarabozkirli check your styled components for IMG I accidentally typed image that's why my image was not getting rendered
@sanskarkaazi3830
@sanskarkaazi3830 3 года назад
Do you know what would happen if there was no z-indexes whatsoever in this project?
@nocapmusic7705
@nocapmusic7705 2 года назад
If y'all are attempting this project using react-router-dom v6 you'll have to change Switch to Routes and in your Route component you have to change component to element. It should look like this --> . In the video this is at timestamp 2:49:26.
@shebeary
@shebeary 2 года назад
This worked! thank you!!!!!! except mine is SignInPage instead of SigninPage
@verzuzstore7337
@verzuzstore7337 2 года назад
I'm having an issue with displaying some of the elements in the InfoSection (p, heading and button) I was able to display the img but not the right of the elements. can you help?
@johannadelatorre3167
@johannadelatorre3167 2 года назад
You are a god amonst men
@ionutoceanu1434
@ionutoceanu1434 2 года назад
🙏🏻 Thank you ! Much love !
@DonTownsendJr
@DonTownsendJr Год назад
@@ennerie You are missing. import SigninPage from './pages/signin';
@kanojvora2491
@kanojvora2491 3 года назад
For anyone struggling to get the image to show do this: 1. add an import statement at the top of the index.js file on infosection. import ImgCar from "../../images/car.svg" 2. It's not the same as in the tutorial but this gets the image to show EDIT: Mustafa Bahaa posted a much more eloquent solution to this, he suggested adding .default to the end of the require statement.
@areejgabriellerollon7797
@areejgabriellerollon7797 3 года назад
thank you. The .default worked for me.
@rockdrotl
@rockdrotl 3 года назад
This one worked for me, thanks brooooooooo
@anthonymazzie4237
@anthonymazzie4237 3 года назад
Worked for me
@anthonymazzie4237
@anthonymazzie4237 3 года назад
@kanoj if you add that code to index.js, how do you make the other sections use different images? Thanks
@matiasbenites1416
@matiasbenites1416 2 года назад
That .default has save me. Tyyy
@tebogo10
@tebogo10 3 года назад
Helpful hint - vscode has an extension for styled components
@askarihassan1636
@askarihassan1636 3 года назад
Thanks a lot man. I was wondering why mine was highlighted as a string and his was not.
@afrosoul4eva
@afrosoul4eva 3 года назад
thanks so much
@Arknaes54
@Arknaes54 3 года назад
Thank you, was just the comment i was looking for :D
@arturs9452
@arturs9452 3 года назад
Pin ! Without this plugin it's pain
@jondiez2673
@jondiez2673 3 года назад
u saved my life! thank you so much!
@Syndrms
@Syndrms 3 года назад
Very rare to see react tutorials with actually good designs. You deserve the best, thank you for your amazing videos
@briandesign
@briandesign 3 года назад
Thanks Syndrms!
@carljustinemosquida9614
@carljustinemosquida9614 3 года назад
It's truly rare
@DeViLTh0rn
@DeViLTh0rn 3 года назад
mean u didn't know about Wrong Akram channel then..
@misterjaypeasmith
@misterjaypeasmith 3 года назад
So true
@8ktk
@8ktk 3 года назад
Unlike other channels, you not only teach React, but also focus on the design part of it which is immensely helpful. Thanks a ton, expecting more amazing content :D
@briandesign
@briandesign 3 года назад
Thanks Karthik! Yeah I like CSS lol so I tend to spend more time messing around with design stuff
@loquaciouslaura5641
@loquaciouslaura5641 3 года назад
@@briandesign Loving the design stuff you've included! It makes your sites look really professional. Can't believe you've not been doing this for very long!
@briandesign
@briandesign 3 года назад
@@loquaciouslaura5641 Thanks Laura!
@didactics740
@didactics740 3 года назад
hint: if the images aren't loading in your react, use .default suffix to your img value/path
@hrithikgoswami9808
@hrithikgoswami9808 3 года назад
thanks it worked
@aisahtaufik8627
@aisahtaufik8627 2 года назад
hi how do you mean with that, can you write the code please. it doest work for me :( "img: require('../../images/svg1.svg'),"
@redmanly1
@redmanly1 2 года назад
@@aisahtaufik8627 "img: require('../../images/svg1.svg')," would now be "img: require('../../images/svg1.svg').default,"
@ryan13547
@ryan13547 2 года назад
thanks a lot bro...how did you even find the solution to it??
@cintiasouza5751
@cintiasouza5751 2 года назад
thanks *-*
@jroseme
@jroseme 2 года назад
Bro I'm only like halfway through but this tutorial is clicking so much more for me than other, much longer and more in depth tutorials. I think maybe it's the order you are going through, combined with the pace. So relieved, finally this React stuff is starting to click in my boomer object oriented brain. Thank you.
@codeaperture
@codeaperture 3 года назад
I finally found the best front-end channel. god level styling skills
@dabzbmg3197
@dabzbmg3197 3 года назад
These are going to help me get a job and when I am back on my feet Ima forward you for the source code still.Your a blessing still my guy.
@Kevin-cg7qk
@Kevin-cg7qk 2 года назад
Finally, someone who understands the importance of design!
@dev_willyy
@dev_willyy 2 года назад
This video is amazing..Infact, Brian becane very tired at the end of the video. many thanks goes to you, Brian. you've earned a relentless subscriber from Nigeria!🔥🙌
@sexrp2380
@sexrp2380 3 года назад
That was great! I've never used styled components before and all the repetition and patterns you've demonstrated truly helped me build a strong foundation! Thank you!
@prenusree8232
@prenusree8232 Год назад
Hey, how can we install styled components
@remyfamily8652
@remyfamily8652 3 года назад
Awesome tutorial! Fellow developers, in case you want to add extra pages like a signup you need to add a few thing extra props onto your styled-component. Example:
@ganiyatusanuusi8734
@ganiyatusanuusi8734 2 года назад
Could you pls explain further about the signup
@renatilyasov6873
@renatilyasov6873 3 года назад
For the svg loading problem I noticed that in InfoElements.js I wrote "styled.div" instead of "styled.img". Great tutorial! Thanks
@briandesign
@briandesign 3 года назад
glad you figured it out! those syntax errors always get me haha
@shubhamsingh4701
@shubhamsingh4701 3 года назад
you comment saved my life ! 😅✌️
@kayjay4906
@kayjay4906 2 года назад
Thanks brother your comment saved my life ! 😅✌️ (copied)
@spencertoogood
@spencertoogood 2 года назад
Nice! This has had me stumped for the last hour!
@florianfevrier8321
@florianfevrier8321 3 года назад
If you're images aren't loading and you have [object Module] in the src attribute, put .default after require() like that "require('../../img/svg-1.svg').default" it worked for me.
@flyingpolishmonk911
@flyingpolishmonk911 3 года назад
It worked for me as well, thank you for the tip Florian !
@EdgarJRojasL
@EdgarJRojasL 3 года назад
Thanks a lot man!!! You've solved my problem with the image.....
@sugammainali7069
@sugammainali7069 3 года назад
You da best . Thanks for the help may u never get corona :-D lol
@amiraizin486
@amiraizin486 3 года назад
Thank you !! It worked for me as well.
@DAWE12100
@DAWE12100 3 года назад
Thank you!
@TUITKRISHNAKUMAR
@TUITKRISHNAKUMAR 3 года назад
RU-vid has many tutorial on react , but in most part they skip the css part, which ended me as a poor css scripter. After following your videos, it became more clear and concise😉❤️
@briandesign
@briandesign 3 года назад
Thanks! Yeah I noticed not many people focus on CSS at all or just copy and paste it into their code with tutorials with more advanced languages.
@loquaciouslaura5641
@loquaciouslaura5641 3 года назад
@@briandesign I agree, the CSS element you include is very in depth. I feel total novice at this and would like to ask, where/how did you learn CSS so well?
@MrZxcvbnm22
@MrZxcvbnm22 3 года назад
@@briandesign Is it worth learning React? I'm a designer with basic notions of coding and programming (JS and PHP). But the website on the video is pretty easy to make using Webflow. I could build it in 2 hours... Without writing any code.
@briandesign
@briandesign 3 года назад
@@MrZxcvbnm22 yeah you can build almost any static site with wordpress/webflow etc. so unless you are trying to do something that requires react or any coding language, then it would make sense to learn it. If you don't plan on using it ever, then I don't see why you would want to use it
@MrZxcvbnm22
@MrZxcvbnm22 3 года назад
@@briandesign but whats th point of using react? (Serious question). Because now I'm using Webflow and I cant see the why. I'm building a concept web similar to Netflix. With the same interactions to see how far I could get and for now Webflow is enough. ps: You used 'static', 'Wordpress' and 'Webflow' on the same sentance... xD
@carolinemendez2902
@carolinemendez2902 3 года назад
Your React using Styled Components have been a life saver. Hoping you do an ecommerce type of website soon! Would love to see what you do with that style
@briandesign
@briandesign 3 года назад
Thanks Caroline! Yeah I plan on making one in the future!
@davidmchale3149
@davidmchale3149 3 года назад
use: 'import styled from 'styled-components/macro'; and you'll get the styled component name on the class instead of just random div classes created by the styled-components package
@codeAlongwith
@codeAlongwith 2 года назад
If this is placed in the style sheet then it will get a conflict due to the existance of import styled from 'styled-components'; ?
@saidevla
@saidevla 3 года назад
The most i like of your tutorials is you don't leave any case of doubt behind. I'm watching what you doing and at the moment that I stop and ask myself, what if i want to...? you say "and if you wanna try this, then you have to..." it's amazing. Thanks for all!
@briandesign
@briandesign 3 года назад
Thanks Pablo!
@consoledoterror971
@consoledoterror971 3 года назад
1:21:06 The problem is that you didn't have semi-colon at the end of line 12. But after saving, prettier formatted the file and added semi-colon.
@rolaunsvideos
@rolaunsvideos 3 года назад
on the Styling hero section you forgot to include an ";" on z-index in the herocontainer, than you saved the file and (probably prettier) made the correction. Btw, i'm new here and i'm really enjoying react, thanks a lot man
@DeCodewithMinte
@DeCodewithMinte 3 года назад
You teach not only how to develop in react but how to develop like a pro with a clean codebase. Just Awesome
@briandesign
@briandesign 3 года назад
Thanks!
@sotonye-m
@sotonye-m 11 месяцев назад
Hey, Thanks for this. I am a software engineer who hated frameworks and wasn't too familiar with javascript, I wrote Java, C# before, A year ago I watched this and decided to give React a chance, Thanks to this video I got my first job as a React Developer just 2 months after watching this video (I had been an engineer for 4 years prior tho), and now I am a frontend developer, I love using react and styled-components so much, it's my fastest way to build stuff.
@Nathan-pu9um
@Nathan-pu9um 3 года назад
if anyone having an issue with images, put the folder into public instead then in data: img: '/images/svg-1.svg'
@lifen8728
@lifen8728 3 года назад
thanks a lot
@ricardoquirino3515
@ricardoquirino3515 3 года назад
i am struggling with images, i tried to put image into folder public, but it's not worked for me. any Tip?
@Nathan-pu9um
@Nathan-pu9um 3 года назад
@@ricardoquirino3515 make an images folder in public and put them in there
@ricardoquirino3515
@ricardoquirino3515 3 года назад
@@Nathan-pu9um Thanks Nathan for help me, but it's not worked for me. i did it but i don't know why doens't work.
@thamsanqaj7137
@thamsanqaj7137 3 года назад
@@Nathan-pu9um how are you... iam getting this error Module not found: You attempted to import /images/7335.jpg which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
@theskipper9156
@theskipper9156 3 года назад
You have solved my portfolio project issues xD
@briandesign
@briandesign 3 года назад
aye thanks!
@songsonggaming814
@songsonggaming814 2 года назад
Thansk for the tutorial, im learn alot about styled component in this video.. keep it up sir!!!!
@twiincentral8780
@twiincentral8780 2 года назад
Thank you for starting the video with the end result! So many videos out there where you have to wait a very long time before you can even see what is being built. Liked and subscribed.
@rishabhgupta5974
@rishabhgupta5974 2 года назад
2:08:42 add .default in the end otherwise picture will not be shown in current version of js require(.../svg).default
@pluginadvice182
@pluginadvice182 3 года назад
Great tutorial bro, I would love you to explain more in-depth when you are typing the CSS/Styled-Component because we don't see the effect right away. Just a suggestion for upcoming projects ;)
@briandesign
@briandesign 3 года назад
yeah I changed the way I show it in my future videos, so it's much easier to follow along
@khaibarkbee4443
@khaibarkbee4443 3 года назад
@@briandesign is there a chance that you can resolve the failed to compile before you start styling so that we can actually what is happening it would be much easier to follow Thanks
@andhytaslin7907
@andhytaslin7907 3 года назад
Video duration 4 hour = 4 day for learn from zero until create a responsive website... great tutorial... you give me all i want
@briandesign
@briandesign 3 года назад
Glad it helped!
@hassasraf
@hassasraf 3 года назад
I am love in with react after saw this video. Amazing content on youtube. I didn't saw this type of video on youtube yet.
@ratul1125
@ratul1125 3 года назад
Brilliant react project. Has a high level
@dreykim
@dreykim 3 года назад
If I could give more than one thumbs up, I would ! Amazing work.
@briandesign
@briandesign 3 года назад
Thanks Drey!
@isalvesilva
@isalvesilva 2 года назад
thanks from Brazil, i'm glad that you just give us this full content for free.. at moment, i cant help with money but here is my thank you! I learn a lot with this video !!
@AnteZivkovic
@AnteZivkovic 3 года назад
I love that we just go through the code and debug along the way. It really adds to realism!
@cameronarnold9214
@cameronarnold9214 2 года назад
If you're having any issues with margins, instead of removing the App.css file, delete everything inside and replace it with *{margin: 0px; padding: 0px}. This will remove all default margins, and give you more freedom to work.
@darrienhuntley4473
@darrienhuntley4473 2 года назад
not sure why not its not working, nothing in *{} is taking - please help
@ViewsofZen
@ViewsofZen 2 года назад
Took me a couple months to fully complete but I'm glad I did, got a lot of knowledge out of this tutorial
@OsundareToheeb
@OsundareToheeb 2 года назад
Hi, nice to hear that, I wanna ask, do you have the same result as his??
@christianfonseca5595
@christianfonseca5595 3 года назад
I just want to say, you probably have the best tutorials Ive found! Thank you for the help!
@briandesign
@briandesign 3 года назад
Glad you like them! Thanks Christian!
@anthonyesmeralda9168
@anthonyesmeralda9168 3 года назад
Yooo, your channel is an absolute blessing. Learning and coding react apps is a lot more enjoyable now.
@briandesign
@briandesign 3 года назад
Thanks Anthony!
@Theguywhoneverlived
@Theguywhoneverlived 3 года назад
Had to type img: require('../../images/svg-1.svg').default, to get the img working. at about 2:17:00
@marlonrtt
@marlonrtt 3 года назад
I imported the svg's in the top of the file as "import svg from "../../images/svg.svg". Also works.
@atharvaathalye
@atharvaathalye 3 года назад
its still not working for me
@LiquidMasti
@LiquidMasti 3 года назад
@@atharvaathalye it worked or not because I found the solution
@elvisstuffman9083
@elvisstuffman9083 3 года назад
@@LiquidMasti whats the solution
@LiquidMasti
@LiquidMasti 3 года назад
@@elvisstuffman9083 just store location path of image in veriable and call it from props. If you still didn't get it let me know I will give you coding example 🙂
@dineshkumargiri1659
@dineshkumargiri1659 3 года назад
Wow....this design is very attractive
@briandesign
@briandesign 3 года назад
Thanks!
@chrisjiang244
@chrisjiang244 2 года назад
Just a heads up, it seems like Switch from 'react-router-dom' has been replaced by Routes
@tanjiankai1796
@tanjiankai1796 3 года назад
Hi, May I know why at 28:20 the "margin-top" causes the navbar to disappear but at 1:41:45 the "margin-top" only move the video instead of the navbar?
@fireonyxiaz
@fireonyxiaz 2 года назад
edit: the actual reason is cause of the Hero component, because it is under the navbar the negative margin top affects it (hero) instead of the navbar. It's just how negative margins are, very confusing.
@antattackBAM
@antattackBAM 2 года назад
If you are using es6, the syntax has been updated from 'Switch' to 'Routes' and 'component' updated to 'element'. Instead of doing 'component={Component}', you now need to do 'element={}.
@ashimshrestha4004
@ashimshrestha4004 2 года назад
Thanks bro. Was stuck at that point. Really appreciate the help.
@joeloftus6148
@joeloftus6148 2 года назад
This is pretty much a great build. You pretty much covered a lot of stuff. You should pretty much keep making stuff like this! ;)
@christiandinata296
@christiandinata296 3 года назад
What an amazing tutorial with neat explanations along the almost 4 hours there :) I was wondering if you could create a reactstrap website tutorial ? Appreciate it man!
@briandesign
@briandesign 3 года назад
I'll check it out! thanks
@christiandinata296
@christiandinata296 3 года назад
@@jegandranbalakrishnan6336 Hi there, yeah easy to follow and sure the same output. Is there any problem I could help?
@clashwithguts18
@clashwithguts18 6 месяцев назад
bro provide the source code i need it urgently..send the github link
@ThrillerNotLive
@ThrillerNotLive 3 года назад
If your CSS is not being formatted in your Elements.JS files, install the plugin "vscode-styled-components"
@achrafmineral2251
@achrafmineral2251 3 года назад
I got an error it's not registerd !!!
@Okram031
@Okram031 3 года назад
thank you my lord savior
@riz3463
@riz3463 3 года назад
thank u so much bud
@MegaTommy105
@MegaTommy105 Год назад
Goddammit Brian. I hate front-end work but you're making me start to like it :)
@user-gu2ib3bj6k
@user-gu2ib3bj6k 3 года назад
i'm learning in Korea. I hope you continue to make tutorial like this.
@briandesign
@briandesign 3 года назад
Thanks!
@sofianekhalef
@sofianekhalef 3 года назад
Hey thanks for the video but i have this issue: img:require('../../images/svg-2.svg'), not working please some help
@briandesign
@briandesign 3 года назад
you could try adding the images to your public folder then just use img: './images/svg-2.svg', let me know if that works
@sofianekhalef
@sofianekhalef 3 года назад
@@briandesign Perfectly worked thanks but one question why it didn't works with require method?
@luismeza6015
@luismeza6015 3 года назад
@@briandesign ty Mr! u inspire me!
@dannyinformal
@dannyinformal 3 года назад
@@briandesign no idea why, but this doesnt work
@yudhiesh1997
@yudhiesh1997 3 года назад
Amazing website appreciate the work you put in to this video.
@briandesign
@briandesign 3 года назад
Thanks Yudhiesh!
@aisha8601
@aisha8601 2 года назад
Wow, you're amazing! This is the second video I came across of yours in the last hour and I'm deffo a subscriber now!! Can't wait to see what else you post!
@hjmiranda6193
@hjmiranda6193 3 года назад
I just finished the tutorial and it took me at least 3 days. Awesome tutorial and I love how you debug the problems! New subscriber here!
@TheNamesJT
@TheNamesJT 3 года назад
Its hard to visualize your styled components since he is teaching to create them first so its hard to understand what exactly the css is doing without being familiar with css and knowing things off by experience. Also, when he uses state inside the styled component and then adds said state as a prop then making the value the state is confusing as hell. Example in the navbar index.js file you see we have state which is scrollNav and we made a prop named scrollNav which value is the state this is confusing because thought you had to destructure in the component parentheses to make props? or add "props" inside the parentheses and do props.scrollNav or something. So, the function changeNav is being called each time a scroll event happens which then updates the state based on if the scroll is greater or equal to 80. I just don't understand the scrollNav prop and how he defined it without de-structuring or adding props to the parenthesis.
@earthycoin
@earthycoin 3 года назад
Brian coming up don't sleep. Love this man!
@briandesign
@briandesign 3 года назад
Yessir! Learning everyday
@LasgCe
@LasgCe 3 года назад
So .. I spent several hours watching your videos .. and well, I learned so much, thanks for taking the time and creating such long and informative videos
@briandesign
@briandesign 3 года назад
awesome! Thanks!
@ranggaputrapertama705
@ranggaputrapertama705 3 года назад
Thank you Brian you made my beginner step to website design become a lottt easier
@briandesign
@briandesign 3 года назад
Thanks Rangga!
@anythingfx8950
@anythingfx8950 2 года назад
Hi Brian, your tutorials and design is awesome! Have one question, when you change navbar color with the addEventListener on scroll, shouldnt there be a cleanup function with that listener? And hows performance of that if you trigger that function on scroll? Any option for debounce? Thanks!
@Yr7tha
@Yr7tha 3 года назад
Love your content bro. Can you teach how to add carousels in react? Automatic image sliders with its transition animations for the banner. Thanks for these awesome vidoes 👍
@Nathan-pu9um
@Nathan-pu9um 3 года назад
yea man! a sldieshow react one would be great, ive managed to do it before but took the real long gravelly road to get there
@Imraann0
@Imraann0 3 года назад
Dude there's tones of good packages out there
@tommymazzola3898
@tommymazzola3898 2 года назад
Looks like “Switch” was removed in the newer version of react-router-dom. I tried changing the “BrowserRouter as Router” back to “BrowserRouter” so that I could import “Router” which I found to be the fix on stack. The app loads without errors now but nothing is displayed. Any ideas?
@thomascornett3173
@thomascornett3173 2 года назад
thats how I got it working
@caseyslastgram1733
@caseyslastgram1733 3 года назад
Thanks for all you do man, I appreciate you walking through your errors makes it feel more authentic.
@ananthu5203
@ananthu5203 3 года назад
svg not displaying from data js. showing this [object Module] content in src
@BankoleTomiVisuals
@BankoleTomiVisuals 3 года назад
I'm experiencing the same issue.
@damjankar
@damjankar 3 года назад
Just move the folder images in to public and then in data.js write this: img: '../../images/svg-1.svg' p.s.- DON'T USE REQUIRE!!!
@krababTurkey
@krababTurkey 3 года назад
You should import svg files.
@soniyatirvir9176
@soniyatirvir9176 3 года назад
@@damjankar Thanks yo
@damjankar
@damjankar 3 года назад
@@soniyatirvir9176 you’re welcome :)
@josuearreola9998
@josuearreola9998 3 года назад
Is there a way to donate? I just learned a lot and this deserves something, it's just amazing, thank you so much!
@briandesign
@briandesign 3 года назад
Thanks Josue! you don't have to do that, but I do have the source code in the description that you could purchase if you wanted to support
@baremetals
@baremetals 2 года назад
Excellent video, I sat through the course and then paid for the design. I will be using it for my Landing page.
@aleximre3110
@aleximre3110 Год назад
This is a fantastic video, I'm using the template to build a website for my friend's small business!
@abishek1997
@abishek1997 3 года назад
Please do a personal-portfolio using React
@fatma7368
@fatma7368 Год назад
Brian you must raise up! thank you so much It's really helpful
@Akosiyawin
@Akosiyawin 3 года назад
Bro, I've watched so many of your videos and just by looking at this design, I don't even need to watch this entire video at all to make this website, I think Im good enough to do all this by myself.
@briandesign
@briandesign 3 года назад
That’s awesome!
@OsundareToheeb
@OsundareToheeb 2 года назад
I have not even watched this, but I know it's gonna be lit! I have subscribed too
@noname89636
@noname89636 3 года назад
This video solved a lot of problems for me in my fullstack developer journey. Great video!
@ken75319
@ken75319 2 года назад
Thanks giving me some ideas of css styling, though I think the main concept of real styled-component is making it globally and sharing it, because styled-component could use multiple times and do nesting. Just watched halfway and felt like I am writing normal css. But thanks again, your work is well-design and full of nice ideas.
@Willy.plu.g
@Willy.plu.g 3 года назад
actually the best react video so far for me
@rahimabdul9607
@rahimabdul9607 Год назад
2:49:58 , I found it on stack overflow. Switch has now changed to Routes if you are using the latest version and also for needs to be changed to element={}, same thing for the signin page
@briandesign
@briandesign Год назад
I made two new react navbar videos using the latest update too if you wanted to see it in a separate video
@nestor-martinez
@nestor-martinez 2 года назад
Brian, you're an inspiration. Thank you for putting out this awesome content; sat here all morning learning all this new stuff. Subbed!
@drewkwabs
@drewkwabs 3 года назад
Amazing React tutorials. I love them. They're very easy to understand. Thank you.
@briandesign
@briandesign 3 года назад
Glad you like them!
@masadamsahid
@masadamsahid 3 года назад
3:08:40 The one of the alternative ways to insert the copyright logo in an html element is using © . Hope this may help you, guys. Btw, it's a very helpful tutorial, Brian. It's very helping me to understand and practice how to use styled components. I'm waiting for your next works and tutorials. 😀👍
@abdallahalhissy1971
@abdallahalhissy1971 3 года назад
really thank you Brian for helping us to be professional, my words aren't enough to thank you. Besides, I just finished creating this project step by step with you. Break a leg friend:)
@jeremycornwall7046
@jeremycornwall7046 3 года назад
Which VS Code plug-in allows the css style formatting to be used in a .js file? Example 18:00 under the export const Nav section
@giannibelizaire2198
@giannibelizaire2198 3 года назад
prettier i think
@jeremycornwall7046
@jeremycornwall7046 3 года назад
@@giannibelizaire2198 I have had prettier for awhile. Unless it is a setting deep in the bowels of the code that isn't it! Any other suggestions?
@giannibelizaire2198
@giannibelizaire2198 3 года назад
@@jeremycornwall7046 it might be a setting. mine works perfectly fine with prettier. i think it may be because you file is being processed as a babel js file and not a react file
@giannibelizaire2198
@giannibelizaire2198 3 года назад
if you go to the bar at the bottom or the page you should be able to click on the type of file and choose between babel, react, html, css, scss, etc
@Onserio.
@Onserio. 3 года назад
*vscode-styled-components*
@salahhatem4601
@salahhatem4601 2 года назад
So Underrated it's insane Thanks man you deserve much more keep it up
@bharatsinghrajawat7922
@bharatsinghrajawat7922 3 года назад
I watched 4 minute of video and can't stop to comment dude this is what we need tnx for video and keep it up . Now i can continue to video ...
@sauravpurohit358
@sauravpurohit358 3 года назад
My toggle is not working when clicking on MobileIcon although tha code is same.
@aankushchauhan
@aankushchauhan 3 года назад
2:17:35 I am getting an error with this Error: img is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`. Please help me out?
@aankushchauhan
@aankushchauhan 3 года назад
​@Luis Vargas Thank you!
@Originallyright
@Originallyright 3 года назад
@Luis Vargas thank you so much
@coding_den
@coding_den 3 года назад
You are literally the best programming channel on youtube.
@gdlmsn
@gdlmsn 3 года назад
Great video tutorial! Seriously the effort you've put in creating this content is second to none! Great Job mate!
@briandesign
@briandesign 3 года назад
Thanks Giulio! you can search undraw . co for those svgs
@LongBoy.0
@LongBoy.0 3 года назад
It’s beautiful! Only thing is you probably wouldn’t want to use standard react for a marketing website like this, it’s not the best use case for single page applications. You’d want this to be static HTML to get better search engine results. Could make this with NextJS instead, and statically build it.
@muscularavocado3547
@muscularavocado3547 2 года назад
I was going to ask what the purpose was. Why learn react for something like this? I’m assuming it would be good for something like a step by step form?
@LongBoy.0
@LongBoy.0 2 года назад
@@muscularavocado3547 Lets make a distinction between React the library and Create-React-App the build tool. What I mean when I said "you wouldn't want to use standard react for marketing templates" was poorly worded, I should have said "Instead of using Create React App as your build tool, use NextJS to take advantage of Static Generation of HTML files, which will improve Search results". Now what you asked - why would you want to use React the JS library even in the first place? Well, it's an enforced pattern of component-centered development that many people know and understand. If you're working in a team, it's easier to handoff these projects from React Dev to React Dev, and communicate in terms of how changes/bug fixes would be made, even though the library is almost overpowered for this project. Additionally, if you are making this as like a proof of concept for a client, you'd make it in React since it's more than likely the client will actually want the website to be functional. So if you know you're going to add forms and all kinds of additional interactivity down the line, or maybe even make it a full blown web app with a customer portal and what not, then you should just start the project using React to avoid an unnecessary project re-factor down the line.
@thejoker7874
@thejoker7874 3 года назад
Awesome website and awesome teaching process. I really loved it.
@briandesign
@briandesign 3 года назад
Great to hear! Thanks
@TuanNguyen-ls6hm
@TuanNguyen-ls6hm 3 года назад
Nice tutorial video, thank you so much. I'm looking forward to seeing more videos on your channel.
@keshaverriah
@keshaverriah Год назад
My FaBars does not show up and I followed the procedure, I don’t know what’s the issue and how to fix it
@chstrackbeast
@chstrackbeast 2 года назад
For the image at 2:17:41, I had to add .default at the end of the path for it to work. img: require('......').default
@talk2karima
@talk2karima 3 года назад
this is the best youtube react tutorial. Please keep it up..
@diegoarteagaquevedo2376
@diegoarteagaquevedo2376 2 года назад
Hey Router-dom was updated and switch is deprecated
@user-nu2qo2pi9m
@user-nu2qo2pi9m 3 года назад
You make a good website !! Learn so much new from your videos, very want to see in a future tutorial on vue js.
@briandesign
@briandesign 3 года назад
Forsure! Thanks
@ronymichelle
@ronymichelle 2 года назад
You should have more subs, this is crazy!! Love it, I will try to do a web as cool as this one, thanks. Cheers!!
@Ruyjerko
@Ruyjerko 2 года назад
Awesome tutorial! I think if you add to this video or make a part 2 with Firebase for the user login, I'm sure you will become #1 in RU-vid searches!. We all would love and learn a lot to see that
@dineshpatil5571
@dineshpatil5571 3 года назад
@Brian, you rock man! I was looking for something like this for a long time. You made my day. I totally loved to write code with you! keep up the great work. God bless.
@matej1228
@matej1228 3 года назад
Really amazing work man, I recently created my first mern project to show employers and next was thinking about making portfolio page, this video is inspiring, might create something similar, looking forward to see how you solved some parts! Cheers
@briandesign
@briandesign 3 года назад
Nice!
@shebeary
@shebeary 2 года назад
I can't get the nav to change to red when scrolling like the example, also, IconContext not working and scrollToTop() not working
@ioannisme7495
@ioannisme7495 3 года назад
i am knew in react so i don't know yet if your tutorial is good...but i have to say that your UI skills are top!! very beautiful web site!
Далее
React Tutorial for Beginners
1:20:04
Просмотров 2,9 млн
I forced EVERYONE to use Linux
22:59
Просмотров 333 тыс.
The Story of Next.js
12:13
Просмотров 562 тыс.
No, Flexbox isn't "good enough"
9:18
Просмотров 32 тыс.
The Clever Way to Count Tanks - Numberphile
16:45
Просмотров 902 тыс.
Learn CSS Flexbox in 20 Minutes (Course)
20:37
Просмотров 35 тыс.
6 White People VS 2 Secret Black People
38:59
Просмотров 3,2 млн