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

  Рет қаралды 1,013,344

Brian Design

Brian Design

Күн бұрын

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.gumroad.com/l/eZ...
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...

Пікірлер: 1 300
@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 Жыл бұрын
🙏🏻 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 2 жыл бұрын
This one worked for me, thanks brooooooooo
@anthonymazzie4237
@anthonymazzie4237 2 жыл бұрын
Worked for me
@anthonymazzie4237
@anthonymazzie4237 2 жыл бұрын
@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
@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
@tebogo10
@tebogo10 2 жыл бұрын
Helpful hint - vscode has an extension for styled components
@askarihassan1636
@askarihassan1636 2 жыл бұрын
Thanks a lot man. I was wondering why mine was highlighted as a string and his was not.
@afrosoul4eva
@afrosoul4eva 2 жыл бұрын
thanks so much
@Arknaes54
@Arknaes54 2 жыл бұрын
Thank you, was just the comment i was looking for :D
@arturs9452
@arturs9452 2 жыл бұрын
Pin ! Without this plugin it's pain
@jondiez2673
@jondiez2673 2 жыл бұрын
u saved my life! thank you so much!
@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.
@AnteZivkovic
@AnteZivkovic 2 жыл бұрын
I love that we just go through the code and debug along the way. It really adds to realism!
@sexrp2380
@sexrp2380 2 жыл бұрын
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 11 ай бұрын
Hey, how can we install styled components
@didactics740
@didactics740 2 жыл бұрын
hint: if the images aren't loading in your react, use .default suffix to your img value/path
@hrithikgoswami9808
@hrithikgoswami9808 2 жыл бұрын
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 *-*
@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.
@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!
@caseyslastgram1733
@caseyslastgram1733 3 жыл бұрын
Thanks for all you do man, I appreciate you walking through your errors makes it feel more authentic.
@ratul1125
@ratul1125 3 жыл бұрын
Brilliant react project. Has a high level
@codeaperture
@codeaperture 3 жыл бұрын
I finally found the best front-end channel. god level styling skills
@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!
@hjmiranda6193
@hjmiranda6193 2 жыл бұрын
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!
@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!
@yudhiesh1997
@yudhiesh1997 3 жыл бұрын
Amazing website appreciate the work you put in to this video.
@briandesign
@briandesign 3 жыл бұрын
Thanks Yudhiesh!
@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.
@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! ;)
@earthycoin
@earthycoin 3 жыл бұрын
Brian coming up don't sleep. Love this man!
@briandesign
@briandesign 3 жыл бұрын
Yessir! Learning everyday
@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!
@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!
@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.
@dreykim
@dreykim 3 жыл бұрын
If I could give more than one thumbs up, I would ! Amazing work.
@briandesign
@briandesign 3 жыл бұрын
Thanks Drey!
@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
@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!
@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!
@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 2 жыл бұрын
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!
@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!
@Kevin-cg7qk
@Kevin-cg7qk 2 жыл бұрын
Finally, someone who understands the importance of design!
@noname89636
@noname89636 3 жыл бұрын
This video solved a lot of problems for me in my fullstack developer journey. Great video!
@theskipper9156
@theskipper9156 3 жыл бұрын
You have solved my portfolio project issues xD
@briandesign
@briandesign 3 жыл бұрын
aye thanks!
@coding_den
@coding_den 3 жыл бұрын
You are literally the best programming channel on youtube.
@learnthebasics101
@learnthebasics101 3 жыл бұрын
Amazing React tutorials. I love them. They're very easy to understand. Thank you.
@briandesign
@briandesign 3 жыл бұрын
Glad you like them!
@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
@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.
@abdallahalhissy1971
@abdallahalhissy1971 2 жыл бұрын
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:)
@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 ...
@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 4 ай бұрын
bro provide the source code i need it urgently..send the github link
@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 2 жыл бұрын
Dude there's tones of good packages out there
@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
@neil9151
@neil9151 3 жыл бұрын
added to my watch later full of project builds lmao. thankyou :)
@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!
@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!
@aisha8601
@aisha8601 Жыл бұрын
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!
@davidmchale3149
@davidmchale3149 2 жыл бұрын
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'; ?
@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
@cschangg
@cschangg 3 жыл бұрын
i'm newer and this is a masterpiece for me, thank you very much
@staminadaddy
@staminadaddy 3 жыл бұрын
This looks amazing yo, cant wait to start.
@TUITKRISHNAKUMAR
@TUITKRISHNAKUMAR 3 жыл бұрын
KZbin 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
@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 Жыл бұрын
not sure why not its not working, nothing in *{} is taking - please help
@asherintech
@asherintech 3 жыл бұрын
This is so dope man, watched a few of your vids now and happily subbed! Your account's gonna blow up soon for sure, keep it up my friend.
@briandesign
@briandesign 3 жыл бұрын
Thanks Asher!
@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 Жыл бұрын
Hi, nice to hear that, I wanna ask, do you have the same result as his??
@abishek1997
@abishek1997 3 жыл бұрын
Please do a personal-portfolio using React
@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
@GG-cq3jd
@GG-cq3jd 3 жыл бұрын
Love your stream of consciousness oration style: talking about link routers --- "It's like whoaaaa, where's that coming from?" Rofl keep up the good work man.
@JoaomdvFerreira
@JoaomdvFerreira 3 жыл бұрын
Really nice tutorial man. Well structured and clean! Keep it up. Much love from Portugal! ❤️
@briandesign
@briandesign 3 жыл бұрын
Awesome! Thank you!
@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.
@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 2 жыл бұрын
thank u so much bud
@johnherrera5913
@johnherrera5913 2 жыл бұрын
Master! Absolutely brilliant tutorial, well done!
@dgcp354
@dgcp354 3 жыл бұрын
I'm literally downloading every video of yours, damn ur videos are good
@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
@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.
@sotonye-m
@sotonye-m 8 ай бұрын
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.
@praveenpandey1094
@praveenpandey1094 3 жыл бұрын
Your work is really appreciable, Best wishes for your future, Brian :)
@briandesign
@briandesign 3 жыл бұрын
Thanks Praveen!
@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 🙂
@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
@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.
@BabySass1
@BabySass1 3 жыл бұрын
Man, your content is so dope! Congrats
@TheNamesJT
@TheNamesJT 2 жыл бұрын
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.
@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 :)
@noahkwon2107
@noahkwon2107 3 жыл бұрын
Thanks for the great tutorial. Keep it up! Really enjoyed the workflow and the finished project
@briandesign
@briandesign 3 жыл бұрын
Glad it was helpful!
@salahhatem4601
@salahhatem4601 2 жыл бұрын
So Underrated it's insane Thanks man you deserve much more keep it up
@mhonjesterjohncalingo8799
@mhonjesterjohncalingo8799 3 жыл бұрын
if I can just subscribe to you a thousand times, I think I'm done doing that now. Please continue making awesome vids
@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.
@ranggaputrapertama705
@ranggaputrapertama705 3 жыл бұрын
Thank you Brian you made my beginner step to website design become a lottt easier
@briandesign
@briandesign 3 жыл бұрын
Thanks Rangga!
@khalil4968
@khalil4968 3 жыл бұрын
Thanks Brian, amazing work!
@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!
@isalvesilva
@isalvesilva Жыл бұрын
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 !!
@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.
@godfreyndiritu369
@godfreyndiritu369 3 жыл бұрын
This is a awesome tutorial tailored for beginners. Thanks so much bro
@yayin5929
@yayin5929 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!
@mamaandi1155
@mamaandi1155 3 жыл бұрын
You are legend! Thank you so much for such interactive react app. Please upload more 🙌🏻✨
@briandesign
@briandesign 3 жыл бұрын
Thank you! Will do!
@TuanNguyen-ls6hm
@TuanNguyen-ls6hm 3 жыл бұрын
Nice tutorial video, thank you so much. I'm looking forward to seeing more videos on your channel.
@zeppolone1978
@zeppolone1978 3 жыл бұрын
I fall in love with your code! Thanks a lot!
@briandesign
@briandesign 3 жыл бұрын
Thanks!
@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!🔥🙌
@arfaouighaith9359
@arfaouighaith9359 3 жыл бұрын
i was searching about something like long time ago and finally thank you so much you the best
@briandesign
@briandesign 3 жыл бұрын
Awesome!
@JigneshWorld
@JigneshWorld 3 жыл бұрын
Great tutorial! Thanks Brian for such a great tutorials.
@briandesign
@briandesign 3 жыл бұрын
Thanks!
@nahida4444
@nahida4444 3 жыл бұрын
I love the design. Looks cool.
@briandesign
@briandesign 3 жыл бұрын
Thanks Nahida!
@LiquidMasti
@LiquidMasti 3 жыл бұрын
This is exactly what I needed. Keep up the good content.
@briandesign
@briandesign 3 жыл бұрын
Thanks
@digigoliath
@digigoliath 3 жыл бұрын
Awesome!!!! TQVM!! My favourite type of tutorials very well taught.
@briandesign
@briandesign 3 жыл бұрын
Aye thanks!
@vanhungnguyen7543
@vanhungnguyen7543 2 жыл бұрын
This is a great and detailed tutorial for beginners, thank you so much..
@Willy.plu.g
@Willy.plu.g 2 жыл бұрын
actually the best react video so far for me
@rendelljosephe6938
@rendelljosephe6938 3 жыл бұрын
Looks great, I'll start with it tomorrow
@yaai4302
@yaai4302 3 жыл бұрын
thank you I hope you are always consistent in making videos :) I hope you are always healthy
@briandesign
@briandesign 3 жыл бұрын
Thanks Yaai!
@adammeziti9480
@adammeziti9480 2 жыл бұрын
Brian, you do more for us than you realize. Bought your bundle in the hopes that you're going to continue to make great content!
@rohankumar-df2un
@rohankumar-df2un 3 жыл бұрын
Great Tutorial , Thanks David
@thejoker7874
@thejoker7874 3 жыл бұрын
Awesome website and awesome teaching process. I really loved it.
@briandesign
@briandesign 3 жыл бұрын
Great to hear! Thanks
React Navbar Tutorial Responsive - 3 Designs
34:09
Brian Design
Рет қаралды 257 М.
Can I copy this text reveal scroll effect with CSS-only?
17:17
Kevin Powell
Рет қаралды 119 М.
Cat story: from hate to love! 😻 #cat #cute #kitten
00:40
Stocat
Рет қаралды 11 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 114 МЛН
Cute Barbie gadgets 🩷💛
01:00
TheSoul Music Family
Рет қаралды 68 МЛН
The Story of Next.js
12:13
uidotdev
Рет қаралды 532 М.
React Tutorial for Beginners
1:20:04
Programming with Mosh
Рет қаралды 2,5 МЛН
15 crazy new JS framework features you don’t know yet
6:11
Fireship
Рет қаралды 293 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 380 М.
This React UI Library is GAME CHANGER!
18:13
developedbyed
Рет қаралды 511 М.
How to create a CSS navigation bar in 6 minutes! 🧭
6:28
Bro Code
Рет қаралды 198 М.
Unstyled Component Libraries Are A Game Changer
12:07
Web Dev Simplified
Рет қаралды 270 М.
Cat story: from hate to love! 😻 #cat #cute #kitten
00:40
Stocat
Рет қаралды 11 МЛН