HTML & CSS Tutorial - Ways to code images...and how to do it well
HTML-код
- Опубликовано: 27 июл 2024
- Here's how to properly code images into your webpages without making them fuzzy on hi-res devices like the latest iPhone.
Play with the code!!!
codepen.io/anon/pen/wOvgde?ed...
View the full course!!!
• Web Development Tutori...
There are 2 ways you'll add images to your website:
- html background images (use this if the image is a part of the design
- html content images (use this if the image is a part of the content)
The method for adding html & CSS images is different for each type of image.
~-~~-~~~-~~-~
Also watch: "Tailwind CSS - why CSS utility classes save so much time"
• Tailwind CSS - why CSS...
~-~~-~~~-~~-~ - Хобби
I don't know why, but you are by far one of the easiest people to listen to and learn coding from.
Wow, thanks a ton! That means a lot, because it's my #1 goal. For example: I re-recorded this video 6 times to try to get it as easy to understand as possible.
@@learncodeacademy I've checked out a few different "courses" (free and paid), through various platforms and always find myself coming back here. I'm a wanderer when it comes to learning and haven't ever caught myself doing that here. Have you ever considered doing a paid course, front to back, like through Udemy?
@@davidrosenberger7630 I have! I'll probably do it either this year or next...it takes a chunk of time to really knock one out well, but yes, that's something I'd like to do.
@@learncodeacademy PLEASE let us know when. I'd buy it in a heart beat!!
@@papleshkumar3504 the first link says its full and i want to join :(
"And we're going to steal some images which is illegal but fun to do..." lol
I love this series and am going through these incredible videos one by one
It's illegal to steal them for the use on your website. If you simply code an html site that won't be online it's 100% legal.
"You may be an idiot, I just don't know that for sure"
You my friend are a good teacher. I'm reviewing all of this shit with your help. Your little jokes like "Ill be here all week" and shit crack me up. You've earned a sub. lol
LOL i literally only went into the comments to see if anyone said anything *fistbump*
same here bro@@stephanpaul8954
me too
Props to you for updating this tutorial! I had watched the previous one, but it's great to see how the tech has changed. Thank you for your hard work.
This guy has the best tutorial I’ve seen to date, vert detailed very methodical very informative- thank you
This has to be one of the most satisfying things I have ever done.
It started out looking like this website from 1999, and to be quite honest I wasn't very motivated to keep at it.
but after watching this video I am super excited to learn more and make my own designs and stuff.
You sir, are by far the easiest to listen to, and you make it really easy to understand this stuff!
Thank you so much :)
The next 3 videos are the best CSS vids i've seen. Impressed. Keep up the good work!!
Wow, turns out the tutorial I watched 5 years ago skipped a lot of important concepts. This is much better!
Amazing insight into how you go about styling the website. I've always struggled to style. A very big thank you!
I have taken courses on this and have never Understood it like this before. You are Amazing! Thank You!
I am following each of your tutorial on Web Dev. and practicing at the same pace. Each day a video. Thanks Will !!
Awesome Video-series, you explained everything very very well so far, though I gotta admit that you were noticeably quicker and less thorough than in your last videos but one does get the gist anyways! Love the series, keep it going!!
Would love to see more building up on what you showed us so far, like for example having the image in the header change into a different picture etc.
for those wondering about some changed aspects, it seems like he did some changes off-camera, like the All-Caps nav points and a few minor other things, if you look closely in the video you will be able to spot the code he wrote and copy it as well if you so fancy.
These videos are really useful even for an intermediate level web developer.
Thank you sir.
Just want to say, God bless you man, you are making this whole process of learning web devt. easy... You are really good at teaching and you are also easy to listen to... Thanks man.
Thanks to you I found making Web sites so much fun. Now I am working as a web developer and I love my job. Greetings from Slovakia.
First video I've watched without getting bored and MAN! It's 22mins.
2016 I started to watch your video, now I can make my own responsive website :)
WOW, I made my first function website by just watching this series. Thank you so much! love the way you teach, straight to the point.
Love your content, your helping an IT support agent decide to change his focus to Web Development.
YOU ARE AWESOME (im from spain) and you, by far, are the best quality and understandable youtuber to learn. Love the serie ❣
Waiting for more episodes! im learning a lot with this tutorias, hope you dont care that much about views, and care more about the people that want to learn more!!! thanks a lot, keep it up!!
I like the way you explain the tutorial.
Thanks for this video. I hope you create another video soon for new style of Web page to learn more properties
I'll probably jump to some more React.js videos next, but there's a little more on this series to do!
this video encourages me much to learn in webdesign lovely, thank you
u have taught me so much man. Thanks :D Please continue with this series!!
Awesome! Yes, still have a little more on this series.
Excellent video as always! Can't wait for the responsive one next!
Thanks!
just stumbled to this fun series while learn. man this is so entertaining.
Keep these up they help so MUCH. They are easy to follow and make coding see, easy to learn.
So good to hear. That's 100% the goal.
Thanks Wil, best RUclips channel to learn HTML. I'm hoping you would do a comprehensive training on building email blast using tables and inline CSS. If you offer this course online, I would purchase your training without any hesitation.
You make so good content. Easy and understandable explained. Keep up with new videos and your great work! Looking forward for the next videos. 👍
Thanks so much!
Thank you soo much!!! Love your tutiorials
Thank you for these tutorials they are so helpful.
Nice toturial sir! You are pretty straightforward and I can understand easily and get your point without a blank head your a nice teacher thank you.
Thank you for all these. Seriously, thanks!
Best tutorial ,so many pro tips and solutions!
You helped me a lot with my assignment 😭 thank you so much ☺️
The best ever in web development. Thank you
currently addicted to watching these videos!
Hello, please don't stop doing video!I want to learn HTML & CSS,because i want to become a it specialist/
I'm not sure if I was the only one who noticed but he made a few changes to the links at the top (offscreen) here is the code to remove the underline, make the text white and transform the text to all caps:
Add this to the styles.css:
a {
text-decoration: none;
color: white;
text-transform: uppercase;
}
So easy to understand, thank you!!
tnx one of the best video i watch in creating a website header, body, footer understandable explanation tnx...
Very good man.You are the best!Thank you for this!
you are excellent, like David said very easy to follow.
Thanks a lot for your awesome videos!!! you rock!!
thanks a lot for all the help
Great video! helped me alot do you have any videos on coding videos from youtube? I'm having difficulties formatting everything with css.
"It's not legal, but it's a great idea."
It's only illegal when you upload the site with someones pictures. But if the html is just gonna be on your computer it's completely legal.
for practicing
@@oscwavcommentaccount Well its like that, you have to look for a uncopyrighted picture and ask for permision to use it.
😂😂😂😂
Sir, Im dedicate my time coding i already know C,C++,JAVA oriented prog. and now im currently learning HTML-CSS-JS-PHP i enjoyed making a Fully Functional System in some business im just a 3rd year student in I.T i code everynight from 10pm-12pm..THANK YOU SIR FOR YOUR VIDEOS your teaching are far more better than our professor hahaha God Bless Sir I really appreciate it.
Dude I've been working on Firefox OS (web-based mobile OS) for a living for years. But your way of explaining stuff makes me wanna go back a newbie and learn this all over again :D
Hah thanks! Funny you say that...I actually applied to work on the Firefox OS team about 6 years ago.
What's the state of that project? I heard it got shelved, but I always thought it was an amazing concept.
@@learncodeacademy it initially shifted into just Smart TVs (there's a Panasonic TV with it on still being sold out there, IIRC) then into "connected devices" aka IoT stuff then it got indeed shelved.
There's a clone of it that's being shipped in smart feature phones in India.. It's called KaiOS and I think a number of previous key staff are there..
Even though it was never meant to compete with Android and iOS, Firefox OS lacked the proper funding among other stuff I'd rather not mention publicly :D
@@NefzaouiAhmed Wow, crazy to hear the journey it went on. Yeah, I figured there were some reasons it didn't become everything it could have become.
THANKS VERY MUCH VERY EASY TO UNDERSTAND AND CLEAR PRESENTATION THANKS AGAIN :)
hey! Your videos are great and very easy to understand, specially for a beginner like me. I have only one question to ask, sometimes it happens so that i know what designing i want but i dont know which commands to use in css. Can you please give some suggestions on that? Thank you !
I love the resize image trick for clarity, it's genius! Also thank you so much for the help. I'm almost done with the playlist, I've learned a lot! 😎
What's the trick?
@@vielo9775 see the video again cus clearly you did not pay enough attention. Anyways the trick is to get the image double the size of what you are actually gonna use in the website. For eg: If you want the image in the website to be of 200px, you would edit the original image to be of 400px. The reason for this is for better clarity on some screens.
I love your videos! They are so easy to follow and really interesting, thank you so much!
But I followed the steps and my images display vertically...and I don't know why. I like the way it looks though, haha!
I really like this coding idea
Super helpful, thank you
Your video on front end development is awesome...try to give tutorial on back end to completely develop a website
u proved that it's common sense, not rocket science !! :)
THANK U
your voice is so clear, how do you record, what's your setup. also do you clean audio after recording.
I had to make the ["background-position : center;" even for the header .logo a (stylesheet) ] because it was difficult to adjust the logo to make it look right. Does that work ? or what did i do wrong?
Hey, great video.
Quick question: if i do use an image from another website, how should i cite that its from a different source on my website so i can give them credit and they dont sue me for everything i own?
Great video, I'm learning a lot! One thing, wouldn't it be better to use the img or picture tag in HTML for the logo and header photo? Does it not matter how you do it? Thanks!
Great series! Gotta say, I’m only able to follow along cause I’m also going through freecodecamp’s web dev beginner course. Quick question : why didn’t you add an alt attribute to the “artisan bakery logo” image instead of adding text and changing its indent?
Thanks sir ,helps a lot♥️
Question: so I got to the point of styling the logo, but I can only put one aspect in, the red background works but when I add anything else the entering formating dies, my guess is that I left some code in from the previous videos that were deleted in the videos that is interfering with it. My best guess, anyway. Any help would be appreciated.
header .logo a {
background: rgb(255, 0, 43)
width: 300px;
}
Can i explain how you got the pictures in vs? Im shown:" An error occurred while restoring view:imagePreview.previewEditor"
"Fresh Baked Bread", "Home Roasted Coffee", "Goods Market?"
This is too good... I've finally found someone who codes just like me!
The images that i insert, even after completing the code, gets cut off for some reason no matter what height I adjust it to. Can someone help me out please?
Why my images in the section going down not to the one line? that's the most important question for me i can also give a css code for that so they arent sided to the one line
i hope that you understand my question. the images going down down down but i need 2 lines with the 3 photos on the single line what is problem if you help i will be you happy i also have tried to google that but no solution i have founded there.
.features {
text-align: center;
display: flex;
flex-direction: row;
}
.features figure img {
border: 1px solid white;
box-shadow: grey 0px 0px 10px;
width: 500px;
height: 230px;
}
*have solved this problem was that i havent put all of my images to the
but anyway how to add images into that group of my website ? it appears on up-side only.
That logo you added how can I position it left for instance if I don't want it where you have placed it
How does the header flex without display: flex?
Love you brother!
What if you wanted align the logo to the left? Please let me know. Thanks. Best vids by far....
i was enjoying those technical point you are giving in this amazing video until i heard 17:16 😂🤣 thanks for this evergreen tutorial
anyone explain why when i resize my image (7.30 for reference) why it doesn't fit to the diameters like his does? instead of fitting, it just cuts out the rest of the image.
my logo have a black screen around it, how can i fix this.
Ummmmm.... my row thingy does not work... yea I managed the captions using h4 but then... its such a long way... Sooo stuff wont align in a row... I did manage to make them aligned in a row but the freaking figcaptions wont stay beneath.. any fix?? Thank you = )
How do I upload image to to the image folder?
Do I right click or left click on the folder to be able to upload images there
im really struggling with the logo class.. nothing seems to effect the logo classified text when i try to change it... and ive experimented with other classes on other parts of the webite and it was working
how did you moved the navigation tags in the middle? I could not understand.. can anyone help here?
the moment you set the height for the artisan bakery logo, the Home text just disappeared (4:38 - 4:50)
How do you bring it back to the top.
🤔
When u are being taught like this you must know from Cameroon 🇨🇲 thank you alot for this sir
Waiting for when you will start adding javascript 🙏🙏🙏🔥🔥🔥🔥
Here is a set of videos that include javascript! learncode.academy/webdev
Help please, my logo image doesn't show, it seems to be transparent as the link works
Sir, this is really a nice video with clear explanation and tips. I am just a newbie, how can i add login here. Thank you very much in advance!!!
How do you insert the pictures into Visual Code?
i have problems alining photo with href's they do nt get in line properly an i rewatched playilist to this part 3 times and i tstill doesn't work please help me
I want to make a form and according to what person had choosed the option will appear how to make it(bad English)
can someone help me - when I add the file path to the header a, the image doesn't show up for some reason, any clues as to why??
Could I protect the picture on the websites, what code i need to use?
Yooo do any of you know how to shrink the src image as I tried making it smaller in photoshop but when I copy it over it still looks big
Could you share the image pack in the link so that I could download and practice? Thank you!
the fact that it took me two weeks lmaooo. I made mine about lions and it turned out so good.
Thank you for tutorial. Unfortunately image height don't change automatically for me as you said. I can only see about half of the picture. Than I changed height from 80px to 370px and picture looks good, but then my whole header becomes very big :)
great teacher ,thanks
good quality tutorials
How do I double the size and then shrink them down?
i think this teacher is amazing
Can someone help me the image doesn’t appear on the website and what is in the menu folder?
when i try to put the logo in its not fittin in its size, how does it work properly? when i change the background-size then its not fitting anymore for high tech stuff isnt it?
I am having a problem in which the section images are being shown horizontally and not vertically. Plz help.