Тёмный

Angular for Beginners - Let's build a Tic-Tac-Toe PWA 

Fireship
Подписаться 3,3 млн
Просмотров 485 тыс.
50% 1

Learn the basics of Angular 8 🚀 by building a tic-tac-toe game 🕹️ from scratch...Then deploy it as an installable progressive web app (PWA). Go beyond the basics 👉fireship.io/co...
Full Source Code: github.com/fir...
Angular Docs: angular.io/
#angular #pwa #tutorial
Take Angular quizzes 🤓
iOS itunes.apple.c...
Android play.google.co...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.

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

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 459   
@RS-lh4gx
@RS-lh4gx 2 года назад
For anyone confused at the Angular Console plugin part, Nx Console is the new name of the extension Also if you run into an issue with using ng new after npm installing the angular cli on windows, you may need to run your terminal as an admin; that's what I had to do
@lutcodes1216
@lutcodes1216 2 года назад
thanks for the comment!
@stealthypirate318
@stealthypirate318 2 года назад
thank you
@PizzaDcalabresa
@PizzaDcalabresa 2 года назад
thank you so much
@haseebqureshi2291
@haseebqureshi2291 2 года назад
Very helpful, Thanks.
@turboheadcrab666
@turboheadcrab666 2 года назад
For me, I had to remove file "ng.ps1" from "C:\Users\%YourUser%\AppData\Roaming pm" to use ng in Windows 11 Terminal.
@raymondonfire
@raymondonfire 11 месяцев назад
Awesome project. Thanks. A few minor fixes: 1. In app.component.html should change to 2. In square.component.ts @Input() value: 'X' | 'O'; should rather be @Input() value: string; 3. In board.component.ts change this.winner = null; to this.winner = ""; and change the return null; in caclulateWinner to return ""; 4. Add "strictPropertyInitialization": false under "compilerOptions":{ in the project folder/tsconfig.json file, to avoid the value error. 5. Nebular is not compatible with Angular 16 yet. Either create the app with ng new --version=15 or just skip all the nebular parts (don't add the extra nb.... coding).
@AwesomePatPatPat
@AwesomePatPatPat 11 месяцев назад
Thank you!!😘
@ItsMe-oi9dy
@ItsMe-oi9dy Год назад
This tutorial desperately needs a 2023 update. So much has changed.
@iman2020
@iman2020 4 месяца назад
yeeees
@pampula9327
@pampula9327 5 лет назад
This is pure gold. Thank you! I am starting out Angular and I would love to see a bit more content that is aimed for beginners but anyway you got yourself another pro member, absolutely love this tempo, explanations and I am even excited about the intermediate content that you have for pro members. Great job!
@Fireship
@Fireship 5 лет назад
Thank you Milos! Awesome to hear that :)
@jowbloe4700
@jowbloe4700 Год назад
How's the Angular been working out? I'm about to jump into it. I'm typically a C#/WPF type of guy. Past couple of years I did DevOps with Ansible/Jenkins.
@lobster-music
@lobster-music 2 года назад
For anyone facing the problem of TS compiler complaining that 'value' is not initialized in the constructor, you can just add "strictPropertyInitialization": false in your ts config :)
@hasanmujawar2004
@hasanmujawar2004 2 года назад
Thanks bro..
@ulissesmalanski6929
@ulissesmalanski6929 2 года назад
stack overflow: Just make sure you add that after "strict": true else the transpiler seems to turn it on again (although VS seems to know it's off). after that change something on the square.components.ts file in order to the magic happens.
@blueyZee
@blueyZee Год назад
Or put a ! at the end of the variable to show that it will not be null or give it a type that is a union of string | null | undefined
@AwesomePatPatPat
@AwesomePatPatPat 11 месяцев назад
Thank you bro!!😘
@kingdarboja7903
@kingdarboja7903 5 лет назад
Been a Front end Dev in Angular and this is the first time I see a different third party library for UI stuff besides Bootstrap, Material and Foundation. Love your courses :)
@sodiboo
@sodiboo 4 года назад
"Angular Console" appears to have been renamed to "Nx Console"
@TroubleMakery
@TroubleMakery 4 года назад
Thanks, It has way fewer downloads so I wasn’t sure
@sivaprakash9285
@sivaprakash9285 4 года назад
also, it doesn't look anything like it...
@sodiboo
@sodiboo 4 года назад
but it seems to have the same functionality as angular console, even if it looks nothing alike...
@MaximilianBerkmann
@MaximilianBerkmann 4 года назад
Both don't seem to exist now.
@sodiboo
@sodiboo 4 года назад
@@MaximilianBerkmann I can find it still from my installed extensions, and the link to its marketplace listing is still functional marketplace.visualstudio.com/items?itemName=nrwl.angular-console
@grosbras9068
@grosbras9068 5 лет назад
It would be great to have a tutorial with Angular and NestJS (even better if there is websocket in it!). Two very powerful frameworks, same global architecture, two powerful CLIs and same language. Thanks for your work!
@Fireship
@Fireship 5 лет назад
Angular/Nest make a great combo. Most Nest content is high on my todo list.
@NeekiRasoi
@NeekiRasoi 3 года назад
@@Fireship Where videos? 😕
@howardleen4182
@howardleen4182 7 месяцев назад
This tutorial desperately needs a 2024 update.
@saurabhdome
@saurabhdome 3 года назад
Whenever you create a video "for Beginners" you should create it for Beginners, In the whole video, your priority was to shorten the video rather than the core philosophy of the video, "To deliver the knowledge". It was fine you doubled the length, We would have still watched it. I learned a lot in these 20 mins but a mess is left behind and I ended up not able to create the TicTacToe webapp. Thank you for your efforts though.
@taishienglish
@taishienglish Год назад
I'm beginner just about 9 months into it all and just finished a javascript course, this is all new to me, this video was a tad fast paced for me but i bought the actual course on the website and im glad to say that this was broken down and slowed down so it was very clear and concise, can't wait to finish it.
@will_abule
@will_abule 5 лет назад
Finally, the world will see "Angular" for what it truly is. Thanks, jeff please if you're watching retweet
@bushraabbasi31
@bushraabbasi31 3 года назад
follow steps throughout the video still get errors. Property 'squares' has no initializer and is not definitely assigned in the constructor. Type 'null' is not assignable to type 'string'. Type 'string' is not assignable to type '"X" | "O"'.
@macks6234
@macks6234 3 года назад
this looks like an issue with the tsconfig.json. try deleting " strictTemplates" from the angularCompilerOptions or set it to false. if that doesn't suffice try deleting "strict" from the compilerOptions or set it to false.
@mwn02
@mwn02 2 года назад
@@macks6234 tysm
@ulissesmalanski6929
@ulissesmalanski6929 2 года назад
Deleting the "strict": true, on tsconfig.json works !
@JuanManuelLinaresBloggerDeNiro
@JuanManuelLinaresBloggerDeNiro 5 месяцев назад
I know it's a 2yo question, but just in case someone comes here looking for help as I did, I wanted to complement the solutions mentioned, in case you prefer not to turn "strict" to false in tsconfig.json. For the "Property ... has no initializer and is not definitely assigned in the constructor" error, you can add an exclamation mark (!) after the name of the variable to skip initialization (e.g.: squares!: any[ ];). For the "Type 'null' is not assignable to type 'string' " error, you can type the variable string also as null, like this: winner: string | null; I hope this helps.
@xarttx4702
@xarttx4702 2 года назад
14:59 The app doesn't work. You need to change the app.component.html to use as opposed to
@yuridigital
@yuridigital 5 лет назад
awesome, Angular needs more love
@Fireship
@Fireship 5 лет назад
So underrated, unfortunately. It's incredibly efficient when you know how to use it.
@niclasj2871
@niclasj2871 5 лет назад
@@Fireship When I started I went for vuejs because it seemed very smooth to learn specially with the CDN integration for a absolute beginner it was awesome. Now over a year later I got a vuejs app in production and while I kinda wanna learn Angular and maybe use that for future projects I always catch myself thinking what can it provide that vuejs doesnt? Thats why I personally did not go for it.. yet
@palashsureka5423
@palashsureka5423 3 года назад
@@Fireship My religion requires me to detest angular
@AllVid
@AllVid 3 года назад
@@palashsureka5423 I sense a react user
@karlmiller6885
@karlmiller6885 4 года назад
Hey there Fireship, love the tutorials, they've really accelerated my learning. I ran into a problem with this that I am scratching my head over. The tic tac toe board functions, but the buttons don't fill type divs. Not sure if there was something omitted or it's because the vids already outdated, couldn't find where I missed it. This was a great introduction to angular for me and I'm excited to learn this framework! Hard to debug though, since all the generated code makes the process sort of invisible on the front end. I can see why its so worth learning now!
@ausgearbeitet4684
@ausgearbeitet4684 4 года назад
I run in the same problem. Your can create or add following styles to the square.components.scss "button { width: 100%; height: 100%; font-size: 5em !important; }" or you need to copy it into styles: [ ] in the square.component.ts if you used inline functionality
@peterdobos7907
@peterdobos7907 Год назад
I had the same problem, and even the css didn't help. I forgot to remove the tag from before the tag in the square.component.ts. I removed it and that fixed the problem! Hope it helps! :D
@guillermovillalta6322
@guillermovillalta6322 5 лет назад
This is great, this video was my first experience developing something with Angular and really liked it! A few steps are overlooked but everything makes sense in the end. Thanks for your hard work.
@JoeRomine
@JoeRomine 4 года назад
@ 9:30 you add to the app.component.html. At what point in the video do you change this to point at ?
@adoniscruz2807
@adoniscruz2807 4 года назад
Thank you! This helps so much! For anyone who doesn't see the board rendering at this point in the tutorial, try this: a) go into the app.component.html file and change to b) If the board renders but the button are still to small, go to the sqaure.component.ts then in @Component > style make sure it looks like this: styles: ['button { width: 100%; height: 100%; font-size: 5em !important; }'] (from the source code in the description) 3) At this point the app should look like the one in the tutorial and you should be good to proceed to add the extra styling from the rest of the tutorial!
@ederjuniorchua827
@ederjuniorchua827 4 года назад
@@adoniscruz2807 thank you so much! been figuring out for awhile.
@wilfred05777
@wilfred05777 4 года назад
@@adoniscruz2807 thanks Ma'am i almost forgot to add the component to the root
@gigigoQ
@gigigoQ 4 года назад
@Joe Romine , I think that part is not involved in the video. I also struggled there then went to source code to check it.
@alexisordinary
@alexisordinary 4 года назад
Why the hell did he skip SO MUCH code? This honestly threw me off.
@AllenConway
@AllenConway 3 года назад
Great video! Only thing is I don't recommend is inlining the CSS and the template in the component at 6:30. It's just not how mainstream Angular development is done. It does look more React-esque as that's what a React component takes shape as with JSX and CSS in JS, but not Angular. You might not agree and I know this was just a demo, but people learning Angular probably shouldn't use that practice.
@martinguggenberger
@martinguggenberger 4 года назад
the last step isn't possible for me, i can't find the "add" in the NX Console (Angular Console -> NX Console).
@trevorsoh2130
@trevorsoh2130 2 года назад
Can I just say that you are a great teacher. Never though my brain could understand programming / but you make it approachable
@RobertWildling
@RobertWildling 3 года назад
Due to Typescript updates, this tutorials needs a makeover. Would be a perfect example of how to evolve in TypeScript... Any chance to motivate you, @Fireship, in doing so?
@zendragon6
@zendragon6 3 года назад
Is that why I'm getting so many errors with my types?
@alexisordinary
@alexisordinary 4 года назад
For people struggling towards the end because of Nx Console, you can type in the commands normally in your terminal window. These are the commands I needed to use towards the end of the project to deploy it: ng add @angular/fire ng add @angular/pwa ng build (can be done in nx console) ng deploy
@Cru5y
@Cru5y 3 года назад
lifesaver
@andreclerigo3339
@andreclerigo3339 3 года назад
not working for me :c
@stevenj29
@stevenj29 3 года назад
thank you!
@juandiego-jw3vm
@juandiego-jw3vm 4 года назад
As other comments, I would say that this is far from being a beginner tutorial, but thank you for sharing your knowledge man!
@theegameer12
@theegameer12 2 года назад
Hey man, great tutorial, as someone who knows the basics of web dev but never touched angular this was great to get started 🤯
@trueberryless
@trueberryless 10 месяцев назад
Great tutorial! It covered all the necessary basic stuff. Little bit sad that Nebular is half dead right now and doesn't support Angular v16... But you can use Angular Material as well, so no problem!
@darthvader3229
@darthvader3229 3 года назад
I got an error on the value on @Input() value : 'X' | 'O';
@mediesjef
@mediesjef 3 года назад
It's because you have strict typing on your project
@kindred9768
@kindred9768 Год назад
My code ran smoodh
@ExplorerDori
@ExplorerDori 2 года назад
Can't find the angular console extension
@timuromarbaev1660
@timuromarbaev1660 2 года назад
it now called Nx Console. All the same but new name
@ExplorerDori
@ExplorerDori 2 года назад
@@timuromarbaev1660 Ohhh Thank you
@zitch7908
@zitch7908 2 года назад
theres only an x in the top left corner when i load up the program????
@ericaskari
@ericaskari 5 лет назад
I don't know really why Angular isn't that popular, not only it's Single page application It can be installed as pwa Can be lazy load different parts very very easily. It can scale up God damn very sexy. It's a year I'm working with Angular and I love it.
@angela_jx
@angela_jx 3 года назад
My frontend development journey was vue->react->angular. The only reason I tried out angular was because I wanted to learn ionic and heard it was better with angular. But god damn everything just feels so much more organized and simple in angular. I’m sure some of that is just typescript. My experience has been awesome in the past year or so. I pretty much exclusively use angular in my projects today
@AdiSings2023
@AdiSings2023 2 года назад
In the latest version: 11:30 -> this.winner = null; This won't work cause you can't assing null to a string.
@Ma0ri0
@Ma0ri0 2 года назад
try deleting " strictTemplates" from the angularCompilerOptions or set it to false. if that doesn't suffice try deleting "strict" from the compilerOptions or set it to false
@xarttx4702
@xarttx4702 2 года назад
@@Ma0ri0 thank you!!
@robhein7573
@robhein7573 4 года назад
I LOVE the pacing of this video. As an experienced dev, I'd much rather pause and review than sit through repetitive info I already know.
@9997eman
@9997eman 4 года назад
My thoughts exactly
@andresram_1
@andresram_1 4 года назад
Amazing, but one additional improvement: You should prevent additional moves when the winner is known. Adding something in the makeMove method will solve this (i.e. if the winner is not null, then return)
@iman2020
@iman2020 4 месяца назад
even tho i found trouble to work with nebular i actualy love this video soo much great way to get started with angular btw is there any other tools i could use instead of nebular?
@jackkirby5287
@jackkirby5287 2 года назад
Angular console no longer exists. It is called NX Console now :)
@phillipables3689
@phillipables3689 4 года назад
legit, best tutorial i have seen in a long time. missed a few baby steps but nothing worth recovering!!
@teuns9
@teuns9 2 года назад
even when i copy paste the entire app dir it gives me some string error with 'X' | 'O' to string value (the variable stats called value)
@drpib14
@drpib14 Год назад
Change the value of @Input() value: "X" | "O" to @Input() value: string; in the square.component.ts file
@RyanScottECE
@RyanScottECE 4 года назад
FYI anyone doing this now -- Angular Console extension appears to be renamed nx console.
@ferdinandkom5337
@ferdinandkom5337 4 года назад
yes, and there is no add for pwa
@alexisordinary
@alexisordinary 4 года назад
@@ferdinandkom5337 have you figured out a way around it? There are no Add or Deploy buttons so not sure how to continue the tutorial.
@martinguggenberger
@martinguggenberger 4 года назад
@@alexisordinary Same here... can't continue at the moment
@alexisordinary
@alexisordinary 4 года назад
@@martinguggenberger hey Martin if I remember correctly I just typed the commands in the console to complete the tutorial :)
@martinguggenberger
@martinguggenberger 4 года назад
@@alexisordinary hm, i tried but the console says that the command doesn't exist
@nodidog
@nodidog 4 года назад
There is no Angular console extension available now, only NX console. And in my project when I run serve, nothing happens. It returns: > Executing task: ng serve myapp < and does nothing else as far as I can tell - no visual on-the-fly compilation, doesn't serve on 4200, just hangs. Pretty frustrating to have an immediate roadblock before I've even written a single line of code.
@JohnGoodFaith
@JohnGoodFaith 3 года назад
I'm stuck at css. I only see a small square with an X. Nothing i put on css changes anything. Can anyone help me with this? I',m sure its something really stupid.
@jordanlayton6540
@jordanlayton6540 3 года назад
In app.component.html, change your app-square line to
@royalguard1012
@royalguard1012 Год назад
This app is broken and doesn't work anymore
@bensonmwaura9494
@bensonmwaura9494 5 лет назад
Nicely done! Would be great to see this implemented in Sapper/Svelte. It's great seeing solid, working principles all through.
@Fireship
@Fireship 5 лет назад
You will see more Svelte content on the channel soon. I have a big project planned :)
@bensonmwaura9494
@bensonmwaura9494 5 лет назад
@@Fireship Thanks! Looking forward to your next post.
@phoneywheeze
@phoneywheeze Год назад
3 years, and now the fireship website is built with svelte kit...
@jrafaelloredo4969
@jrafaelloredo4969 2 года назад
I couldn't use the Nx console because for some reason CLI is not detecting the latest node version i installed on my Mac. So i just went ahead and typed the commands. Great video. Thank you for making such great content.
@webbhinton6842
@webbhinton6842 Год назад
Note that currently you'll need to use Angular 14, not 15, to use nebular.
@ineptDev
@ineptDev 5 лет назад
Thanks for this tutorial, but... I'm a full beginner in Angular, but not in web development. Just tried to follow you step by step typing every single letter and didn't get exact results what you got( 14:58 my buttons don't look like yours. You missed "firebase init" at the end so deploy in the video won't work( So please, don't miss such steps in your videos, they are really great and full of good info, but such moments can make a lot of troubles) All good)
@Fireship
@Fireship 5 лет назад
Thanks for the feedback. Running ng add @angular/fire should init Firebase, but it looks like there's an open bug on windows currently.
@geekdesprairies
@geekdesprairies 3 года назад
Cool video! Just a question: at 12:00, wouldn't it be more simple to do just this: this.squares[idx] = this.player; Instead of splicing?
@FerdinandCoding
@FerdinandCoding 2 года назад
Can confirm this works! Looks much more simpler too.
@classicalfandom8219
@classicalfandom8219 2 года назад
That is to keep the state immutable
@Brunoenribeiro
@Brunoenribeiro 5 лет назад
I worked with Angular for a year, then migrated to Vue. I liked it so much that almost forgot how Angular helps by having so much out of the box. Thank you for this video, really useful! And good luck with the complete course! Might check it out :)
@adesh116
@adesh116 5 лет назад
Can we please get a tutorial on angular change detection and ExpressionChangedAfterItHasBeenCheckedError and steps to overcome it.
@ericaskari
@ericaskari 5 лет назад
I feel you man 😁😁😂😂
@adesh116
@adesh116 5 лет назад
😂😂
@Fireship
@Fireship 5 лет назад
Lol, that is a much needed video.
@finalsecretofchrono1339
@finalsecretofchrono1339 2 года назад
Good video, people need to learn how to pause or slow the video down; the correct code is all in the Github.
@andreclerigo3339
@andreclerigo3339 3 года назад
is it just me or this code isnt working anymore?
@michaelshort2388
@michaelshort2388 Год назад
the angular console seems to take a lot longer to use than just typing the commands lol
@DaBestOhYeah
@DaBestOhYeah Год назад
Anyone getting errors with various parts of the code, have a look at the autogenerated tsconfig.json file and replace it with the following code: { "compileOnSave": false, "compilerOptions": { "baseUrl": "./", "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "downlevelIteration": true, "experimentalDecorators": true, "module": "esnext", "moduleResolution": "node", "importHelpers": true, "target": "es2015", "typeRoots": [ "node_modules/@types" ], "lib": [ "es2018", "dom" ] }, "angularCompilerOptions": { "fullTemplateTypeCheck": true, "strictInjectionParameters": true } } It is his code from his github.
@alfa_q
@alfa_q 4 года назад
Good video which is excellent for beginners like me who are proficient in at least one programming language (Python for me), minor knowledge of CSS, HTML, and JS That being said, there are two things that were skipped: Button CSS: button { width: 100%; height: 100%; font-size: 5em !important; } App Component HTML: But overall a great tutorial. Made me subscribe to the full course.
@Bob65001
@Bob65001 Год назад
I noticed the board part easily enough- but I was definitely stumped on the css. THANKYOU SO MUCH!
@breezeex4
@breezeex4 5 лет назад
Great video!! I have all my developers working me following you!!! Keep it up!! I hope you get into the details of lazy loading, not much out there on this and I think it would be beneficial to everyone!!
@vampirejs758
@vampirejs758 3 года назад
Should I use angular today in 2021
@Contractor48
@Contractor48 5 лет назад
I love you content and have subscribed to pro account. Thank you.
@Fireship
@Fireship 5 лет назад
Awesome :) Thank you very much Puneet!
@manofqwerty
@manofqwerty 4 года назад
Your voice just works for this type of video.
@Felix-og7pd
@Felix-og7pd 2 года назад
webpack to prevent js bubbling. assets folder angular out of box solutions: cli react: html react to data dumb component setup in ngOnInit nebular is a powerful style library for angular ngModules, to use angular in progressive way(use only parts of the framework that you currently need) pwa
@monstereugene
@monstereugene 2 года назад
this is great and the fact I understand 80 percent of what's happening means I've come a long way. But I think it's best if I get the fundamentals completely down before I use any frame works. If this is backwards and you're a professional let me know.
@willigeek2013
@willigeek2013 5 лет назад
Man! You have no idea how helpful you are ... You might as well be Superman or dare i say ... SuperFireShip! #lamejoke Thanks alot man. Really appreciate your effort. SO HELPFUL.
@Kamillascookie
@Kamillascookie 3 года назад
Great tutorial, but unfortunately with the newer versions of Angular the board.component.ts code is full of errors, I guess my typescript version is tougher than the one used in the tutorial. So this 20min tutorial is taking hours...
@joewartman2734
@joewartman2734 Год назад
agree
@valentinacomerci5301
@valentinacomerci5301 2 года назад
Hey! thank you so much for the cool content, very helpful. when I click on one of the squares the next available one gets highlited instead, I thought it was just a problem I cause after customizing some stuff. I noticed it happens in your version too, I know the board technically works fine but do you (or anyone) know why it happens? how do I fix it ? Thank you.
@JesseUnderscoreMartin
@JesseUnderscoreMartin 2 года назад
I'm seeing the same thing. It also happens in this video. I haven't yet solved it either 😄
@Baran24
@Baran24 Год назад
did you fix this?
@kubaa1312
@kubaa1312 Год назад
1 year later still no solution lol
@ahmedmotawea2072
@ahmedmotawea2072 5 лет назад
Great video please add more about angular and it's latest versions
@MrBledi
@MrBledi 4 года назад
great explanation but for me personally using the ui for generating the components instead of the terminal, i didn't understand a bit but now i understood angular much better thanks
@yoniender252
@yoniender252 2 года назад
I do not reccommend this video for beginners, I tried using this to learn angular for the first time and it feels like it's outdated. maybe I am just newb but I tried copying the same things as the video and a lot isn't stated in the video.
@narasimhasudhakar2470
@narasimhasudhakar2470 5 лет назад
Loved your work
@orange_machine264
@orange_machine264 5 лет назад
Anyone know the fonts used at 4:22? Another quality video, Jeff!
@eshaan7_
@eshaan7_ 4 года назад
@fireship tell us
@zainqamar7743
@zainqamar7743 4 года назад
3:53 TypeScrip Should Be In front
@vnshngpnt
@vnshngpnt 4 года назад
This guy TypeScripts
@veejay1834
@veejay1834 3 года назад
At 10:15 I get the error "Property 'squares' has no initializer and is not definitely assigned in the constructor." The same goes for xIsNext and winner. Can I know why am I having this error and how can I fix it? This is my first try on Angular yess. Great tutorial btw 👌🏽
@veejay1834
@veejay1834 3 года назад
I read that it is due to updates on Typescript. Sad :(
@ariiMe
@ariiMe 3 года назад
@Input() value!: "X" | "O"; putting exclamation mark after value should fix it but you will get other breaking errors which i couldn't fix yet
@webbhinton6842
@webbhinton6842 Год назад
Any Windows users running running into "Error: This command is not available when running the Angular CLI outside a workspace." when using commands like ng add ? I'm able to use ng serve, but not ng add/ng run...Very confusing
@preyat94
@preyat94 4 года назад
The buttons in my application, before the @nebular/theme installation, are not filling up all of the space in each square in the grid. They are instead fixed to the upper left corner. Everything works fine: logic is fine and click functionality is fine but each grid section is mostly empty white space with the button in the upper left looking tiny. I don't know how yours is filling up all the space? I've copied everything exactly, what am I missing? Thanks.
@9997eman
@9997eman 4 года назад
sounds like its something to do with the SCSS. But without the code I can't help?
@ezrabay4393
@ezrabay4393 4 года назад
The hover effect is buggy. When you click a square it makes the next square go in focus for a split second, giving it the hover effect. It's incredibly annoying. I've tried to fix it for hours. Someone for the love of god help
@shadowsonicmario1
@shadowsonicmario1 2 года назад
anyone found a fix for this?
@royilevy7322
@royilevy7322 3 года назад
can anyone help me? For some reason the buttons inside the grid are small. They don't take up the whole cell.
@cafarellano9340
@cafarellano9340 2 года назад
Help, my squares aren't squares, they're just rectangles placed one under the other hahaha :(
@EduardsSilins
@EduardsSilins 5 лет назад
Thanks for the pwa part. changed whole thing for me... :)
@TheGirlWhoDared95
@TheGirlWhoDared95 Месяц назад
Hi awesome tutorial, easiest among all the tictactoe for angular present oninternet, i leart many things in this tutorial extensions , and firebase and angular true value pwa, there were few erros as due to recent code update is needed by you,, but i am only stuck with using nx console and uploading to firebase using pwa, that last part i am not able to process
@1LittleMe1
@1LittleMe1 5 лет назад
Hey, could someone explain how to remove the random highlighter after clicking on a nbButton? @ 18:01
@sharank
@sharank 5 лет назад
Nebular comes with great accessibility features out of the box. The highlighting you're seeing is for the sake of accessibility of button. You might have to override this in the css, probably using !important. Although, its fine in this case, it is not really recommended to do in the real world acenario
@nicholostyler8873
@nicholostyler8873 4 года назад
I know this is late, but by default it seems it sets the document.focusedElement to the next object in the grid.
@kubaa1312
@kubaa1312 Год назад
@@nicholostyler8873 2 years ago i am looking for that so never too late lol
@anirbandas12
@anirbandas12 5 лет назад
If u go 2 rxjs official site u will see more games, u can just google rxjs angular games
@HexapoDD
@HexapoDD 5 лет назад
Nice, exactly what I was looking for. Now that I know Vue a little, I think it is Time for the next Challange. Thanks for this!
@yt.neerajkumar
@yt.neerajkumar 3 года назад
Love from India.. You're awesome man.
@mehdouchbhk6445
@mehdouchbhk6445 9 месяцев назад
anyone here got to 15:00 and the button is small ?( the 'X' and 'O' buttons not matching the grid size and they are small show at the left) if anyone is encountring this problem and fixed it . Please share with us your solution. Btw great tutorial to angular, learned a lot as a beginner!
@mijaelwatts
@mijaelwatts 4 года назад
Wow man, I really enjoyed this tutorial, thank u very much and congrats! I do believe this is not for total beginners but is what people with a lil' bit more experience with the framework and want to speed up need.straight to the point, and short. Looking forward to keep checking ur vids :)
@ruksharalam173
@ruksharalam173 7 месяцев назад
Can you please do an Angular 17 real-world project tutorial video?
@yacinehammi3448
@yacinehammi3448 Год назад
i have one week since i started angular , i did crud project , but i failed this one , i followed every steps but still didn't understand some concepts , wish me good luck to the next projects , and if you have any advice, feel free to share it with me , thank you
@Siclon100
@Siclon100 5 лет назад
Great work! As ussual
@Fireship
@Fireship 5 лет назад
Thank you Mario :)
@Siclon100
@Siclon100 5 лет назад
@@Fireship thanks you for your awsome work ={D
@justinnoor4915
@justinnoor4915 3 года назад
Excellent video - thank you for your work
@TheGirlWhoDared95
@TheGirlWhoDared95 Месяц назад
I am getting bundle error on prod build , Error: bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 622.16 kB with a total of 1.61 MB.
@vishnulucky5141
@vishnulucky5141 4 года назад
can we change the values of X and O to some random alphabets like A and B?
@Plegeus-qk3jr
@Plegeus-qk3jr Год назад
I can't use the square component in the app's template, it says it is undefined
@uzbbanimgfumvypgpqzyxlwwx
@uzbbanimgfumvypgpqzyxlwwx Год назад
send stackblitz
@pepepriest5973
@pepepriest5973 3 года назад
My first project, thx for the guide dude! Question: why all variables/const now need a start value? I saw that too with flutter when i updated the core
@kumarharsh4408
@kumarharsh4408 3 года назад
Thank you for this amazing video. But Please try to go slow and dont skip anything .
@brithesecond
@brithesecond Год назад
I just tried it, the code no longer compiles.
@WorldAquariumSingapore
@WorldAquariumSingapore 3 года назад
angular is cool cheers and i just sub
@marcellorebello4487
@marcellorebello4487 5 лет назад
I don't know. Followed exactly what you did but the game itself didn't come up. Rechecked multiple times all I could see was the one button with the X in it created early. Copied code from your github file to file and that completely broke the app.
@jordanlayton6540
@jordanlayton6540 3 года назад
In app.component.html, change your app-square line to
@This.and.that.
@This.and.that. 5 лет назад
Great vid! Do you think you could make a PWA beginner tutorial for Vue next?
@yayo1977
@yayo1977 5 лет назад
Props for another great tutorial! i am always couius when to use inline styles and templates and when not I alway like to use it separated but i loos very interestin to my to do it all in one file, althoug i get worry it can get to complex.
@lunchboxUFX
@lunchboxUFX Год назад
i'm in the initial step of creating a `square` component but when using Nx Console, project name is now a select list, but there are no options to select. How can I get Nx Console to recognize my project name (tic-tac-toe), or, what do I need to configure?
@lunchboxUFX
@lunchboxUFX Год назад
nvm, had to migrate project to Nx, works now
@vladimirjean
@vladimirjean 5 лет назад
Awesome, I've learned so much, thanks a lot!
@edrobinson8248
@edrobinson8248 3 года назад
excellent. not many videos out there that build a practical app. great for my revision but bit misleading (and discouraging!) to decribe it as "for beginners". thanks !
Далее
How To Make AWS Not Suck
6:38
Просмотров 538 тыс.
Angular Components Beginner's Guide
13:52
Просмотров 187 тыс.
React vs Angular in 2024
9:00
Просмотров 53 тыс.
I built 10 web apps... with 10 different languages
14:23
The JavaScript Survival Guide
14:47
Просмотров 728 тыс.