Тёмный

8.7: The Basics of CSS - p5.js Tutorial 

The Coding Train
Подписаться 1,7 млн
Просмотров 47 тыс.
50% 1

This video covers the very very basics of CSS. I look at how to write a selector in a style tag as well as how to use the p5 style() function. More to come!
Support this channel on Patreon: / codingtrain
Contact: / shiffman
Send me your questions and coding challenges!: github.com/Cod...
Link to code on Github: github.com/Cod...
p5.js: p5js.org
For More p5.js Videos: • Start learning here!
Help us caption & translate this video!
amara.org/v/Qbu2/
📄 Code of Conduct: github.com/Cod...

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

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 62   
@JasonThomas-bv2yw
@JasonThomas-bv2yw 7 лет назад
The "Cascading" in CSS, in a nutshell, means that style can be applied from multiple sources (multiple style sheets, inline styling, importing, the default styles applied by the browser), with an order of precedence when the statements of any style elements conflict with each other. I think a good way to sum it up is that you can add style to an element, and then later, restyle that same element by overriding the original. CASCADiNG!
@TheCodingTrain
@TheCodingTrain 7 лет назад
Oh, thank you for this excellent explanation!!
@shocb
@shocb 7 лет назад
Here are links to the two CSS references he showed in the video: developer.mozilla.org/en-US/docs/Web/CSS/Reference www.blooberry.com/indexdot/css/propindex/all.htm
@kushagra64
@kushagra64 3 года назад
Me: a person who has experience in program in css. Also me: watching basics of css
@DavidBauer38
@DavidBauer38 2 года назад
Same! Finished a Coding Bootcamp on Full Stack Web Development but really enjoy Dan’s videos and his style (pun intended) of teaching! Wish I had discovered this channel a few years back!!!
@ksbalaji1287
@ksbalaji1287 7 лет назад
I'd definitely pay to see that musical, D. Thanks for another awesome video.
@ritikkhatri
@ritikkhatri 6 лет назад
16:16 watching this in year 2017
@maxiequa567
@maxiequa567 8 лет назад
Who doesn't love padding? Javascript the musical. haha! yes Sir, I'm with you Shiffman! How do you change the canvas to % or vw/vh in order to make the dimensions responsive?
@TheCodingTrain
@TheCodingTrain 8 лет назад
+Max Equation Take a look at resizeCanvas(): p5js.org/reference/#/p5/resizeCanvas
@maxiequa567
@maxiequa567 8 лет назад
Thank you Sir.
@김유황오리-n7n
@김유황오리-n7n 5 лет назад
You are the best teacher! A big big thanks from South Korea
@jayanthankj
@jayanthankj 4 года назад
anyone from year 3000?
@anastasiosarvanitis9533
@anastasiosarvanitis9533 5 лет назад
Just discovered your videos and i think they are amazing! Thank you and by the way i love your jokes!!!
@JasonThomas-bv2yw
@JasonThomas-bv2yw 7 лет назад
You can use RGB values as well in CSS, or RGBA. ex: background-color: rgb(55, 144, 255); OR background-color: rbg(55, 144, 255, 0.4) with an alpha value added.
@queNWS
@queNWS 9 лет назад
I'm Adi Wiedersheims brother. love your videos. thank you
@aurelianobuendia24
@aurelianobuendia24 8 лет назад
I want to know how to make multiple canvas in one single html page. Is there any way to do this? Can you make a tutorial or im I asking for too much? I love you Daniel Shiffman.
@aurelianobuendia24
@aurelianobuendia24 8 лет назад
Never mind. Ive doned this and is working : //CANVAS 1 var sketch = function(can1){ var gray = 0; can1.setup = function () { can1.createCanvas(300, 300); can1.background('red'); }; can1.draw = function () { can1.rect(can1.mouseX, can1.mouseY, 20, 20); //can1.rect(can1.width/2, can1.height/2, 200, 200); }; can1.mousePressed = function () { }; }; //CANVAS 2 var sketch2 = function(can2){ var gray = 0; can2.setup = function () { can2.createCanvas(300, 300); can2.background('blue'); }; can2.draw = function () { can2.ellipse(can2.mouseX, can2.mouseY, 50, 50); }; can2.mousePressed = function () { }; }; //CANVAS 3 var sketch3 = function(can3){ var gray = 0; can3.setup = function () { can3.createCanvas(300, 300); can3.background('green'); }; can3.draw = function () { can3.ellipse(can3.mouseX, can3.mouseY, 150, 150); }; can3.mousePressed = function () { }; }; new p5(sketch); new p5(sketch2); new p5(sketch3);
@Czernylee
@Czernylee 8 лет назад
would you please let me know that?
@cookiecutter5162
@cookiecutter5162 7 лет назад
Woah, how'd you figure that out?!
@sujandutta8981
@sujandutta8981 7 лет назад
have you ever heard this song? "Give me some sunshine Give me some rain Give me another chance I wanna grow up once again....." ha ha ha Jokes apart, you are truly a world class teacher. Thank you for uploading these videos.
@kosmic000
@kosmic000 7 лет назад
ur zee best instructor daniel !!
@suzi-ml8ep
@suzi-ml8ep 3 года назад
May I know why this is not included in the playlist listed? It is quite confusing. There is also 2 versions of some videos... Is there a comprehensive playlist with all the videos?
@maxlesin3876
@maxlesin3876 3 года назад
what a lot positivity this man has
@marcpaters0n
@marcpaters0n 6 лет назад
"Javascript! The Musical" how's that going by the way? 😁
@pasindupansilu6046
@pasindupansilu6046 6 лет назад
dude make a tutorial or a set of tutorials in making a full responsive and active web page using css and js
@paulmcdevitt2038
@paulmcdevitt2038 4 года назад
Edutainment at its best!
@ajinkyarasal5965
@ajinkyarasal5965 7 лет назад
Awesome videos. Its fun learning from you!
@__chaudharysaab__
@__chaudharysaab__ 3 года назад
I'm still here watching this video in 2021, again, even if you feel that people are not watching. Wish I knew more about you while I was still at NYU, unfortunately, I was a Tandon student.
@goldthumb
@goldthumb Год назад
To me, something is better to learn from a pdf book on iPad where I can make notes with a pen; other things like CSS are better to learn from a video like this one. With visual feedback, it speeds up my understand of CSS a lot.
@Texplanations
@Texplanations 7 лет назад
+The Coding Train I need a bit of help... I want to make a circle packing program for my brother's birthday... But I want make it like it changes the image every few seconds... So I need some kind of delay mechanism. How would I exactly do that?
@laikesagores3258
@laikesagores3258 2 года назад
Amazing Teacher ever!!!
@TheMinecrafter52
@TheMinecrafter52 8 лет назад
Your videos are great, I really enjoy learning this stuff. I've had one question ever since the beginning, how do I change the keyword highlighting ( I don't know if that is what it is called), because mine is mostly grey with the occaisional brown or pink, while yours has all different colors for more things.
@Samfineddie123
@Samfineddie123 7 лет назад
TheMinecrafter52 I would like to know too! If you find out could you let me know if Dan doesn't reply please :)
@NeverSuspects
@NeverSuspects 7 лет назад
If you're talking about the code formatting and syntax highlighting those are settings in the editing software used, with some having options to specify what code you're writing etc and many, many options. Try setting the right language or looking for style preferences or something of the sort for formatting in the configuration. Not sure what editor you're using and I've mostly just use notepad++. If I'm wrong about what you're referring too ignore this. ;)
@SogMosee
@SogMosee 7 лет назад
If you're watching this in the year 3000 please go get my brain out of that cryogenic thing lmao!
@MrBmxerFTW
@MrBmxerFTW 7 лет назад
not sure how popular rgb() or rgba() color property is, but i prefer using it as its easier to visualize the respective color amounts
@sarahsteffanny8963
@sarahsteffanny8963 6 лет назад
I love your videos 😂😂
@papesldjnsjkfjsn
@papesldjnsjkfjsn 3 года назад
watching in 2020 ;)
@achibaba
@achibaba 6 лет назад
this guy is a guru!
@ruiii709
@ruiii709 4 года назад
watching in 2020
@cztechs3899
@cztechs3899 9 лет назад
YOUR SO AWESOME!!! Thanks for everthing!!!!
@leozzl1310
@leozzl1310 6 лет назад
I am watchig in 2018!!!! I have qouesten . Can i wathcing you learn hot to make my own web site?
@TheCodingTrain
@TheCodingTrain 6 лет назад
My videos are not about website design specifically but you will learn about coding for the web with JS, HTML, CSS.
@knowledge_4203
@knowledge_4203 3 года назад
you are the best teacher I've ever had thank you!
@queNWS
@queNWS 9 лет назад
You work at NYU Tisch, right?
@bradleystone9099
@bradleystone9099 7 лет назад
Wait so I'm using three languages at the least in p5. How many languages are just built into this thing?
@TheCodingTrain
@TheCodingTrain 7 лет назад
p5 is just a JavaScript library so it's just JavaScript. Web pages also involve HTML and CSS for content, layout, and design.
@abazur7742
@abazur7742 5 лет назад
anyone 2019?
@joshuahabash8572
@joshuahabash8572 5 лет назад
yeah
@TejasIsAmazing
@TejasIsAmazing 3 года назад
anyone 2021
@brotherlui5956
@brotherlui5956 6 лет назад
Watching in July 2018
@marymax999
@marymax999 4 года назад
16:16 watching in nov 2019
@Ikpoppy
@Ikpoppy 7 лет назад
Ababababbabababbababbababbbababbbbababababbabaa
@ItsDevOps
@ItsDevOps 7 лет назад
Just Awesome
@Ikpoppy
@Ikpoppy 7 лет назад
-5:3
@scharfer56
@scharfer56 9 лет назад
awesome : )
@TheCodingTrain
@TheCodingTrain 9 лет назад
+Ryan Scharfer thank you!
@fede_harjes
@fede_harjes 6 лет назад
Hello from Bolivia, Shiffman! Thanks for the videos as always... watching this in 2018... Well, I made a little project to practice with this playlist: fedehr.github.io/theCodingTrain_DOM_JS_practice/ As I continue with the playlist I will try to add more elements to the little project, I would be very happy to hear some ideas, some other interesting things I could add for the user to change. I really hope I can get to work with your newer videos. Do you have any videos about TensorFlow.js? I haven't seen any in the channel yet.
@TheCodingTrain
@TheCodingTrain 6 лет назад
thanks for sharing!
@Ikpoppy
@Ikpoppy 7 лет назад
Zz🤑🤑🤑🤑🤑🗺🎡⚔️🔕🔕😤😤🗺😤🔺🔺🎡😤🎡🦉⚔️🎡🔺🔺🎡🦉🔧🎡🎡🔺🎡🦉😤🔧🎡🔺🤣🦉➗➗➗➗➗➗😀😃😃😄🔕⚱️⚱️⚱️⚱️⚱️🗺⛵️➗➗➗➗➗➗
Далее
8.8: Events "changed" and "input" - p5.js Tutorial
11:50
8.15: Drag and Drop a File - p5.js Tutorial
20:28
Просмотров 57 тыс.
HA-HA-HA-HA 👫 #countryhumans
00:15
Просмотров 991 тыс.
Coding Challenge 166: ASCII Text Images
22:42
Просмотров 1,1 млн
8.16: The Slider Dance - p5.js Tutorial
14:01
Просмотров 44 тыс.
CSS in 5 minutes
8:16
Просмотров 148 тыс.
100+ Web Development Things you Should Know
13:18
Просмотров 1,5 млн
Dear Functional Bros
16:50
Просмотров 512 тыс.
Coding Challenge 180: Falling Sand
23:00
Просмотров 943 тыс.
Node.js is a serious thing now… (2023)
8:18
Просмотров 651 тыс.