Ecommerce Website | Add to Cart | Delete from Cart | HTML, CSS & JavaScript

  Рет қаралды 270,199

Learning Axis

Learning Axis

Жыл бұрын

#html #css #javascript #tutorials
Here we will learn to create a product page design and its functionality.
Using the map method, we will add items to the cart and delete the individual item from the cart.

Пікірлер: 232
@learning-axis
@learning-axis 8 ай бұрын
source code: shorturl.at/htH12
@Hlord_Minecraft
@Hlord_Minecraft 5 ай бұрын
thanks(;
@ericstewart6760
@ericstewart6760 5 ай бұрын
You should do everything with it eventually.
@harshitgaminghk
@harshitgaminghk 4 ай бұрын
not working
@SMARTBOY-ri8sz
@SMARTBOY-ri8sz 4 ай бұрын
link not working
@learning-axis
@learning-axis 4 ай бұрын
check again@@SMARTBOY-ri8sz
@samoeurnartjr9535
@samoeurnartjr9535 8 ай бұрын
It kind of videos of video that help us to improve for build website using HTML CSS and JS , good videos
@kdeyvlog9225
@kdeyvlog9225 Жыл бұрын
First like video thank q very much
@likeaboss5736
@likeaboss5736 Жыл бұрын
TU ES O SALVADOR!!!! OBRIGADO RONALDO DE DESENVOLVIMENTO WEB
@ThomasBui359
@ThomasBui359 Жыл бұрын
I can't get enough of this video. It's one of those rare gems that you want to watch over and over again, and each time you notice something new and exciting.
@learning-axis
@learning-axis Жыл бұрын
Thank you
@akejeludavidojoshimite646
@akejeludavidojoshimite646 4 ай бұрын
Hello @Learning Axis, I really like your video but i cant find a way to figure out how to use the localstorage to keep the igem in cart after refresh of page.
@teresiaaritonang4457
@teresiaaritonang4457 11 ай бұрын
Thankyou, sir. It's work 🙏
@FaiZunGaming
@FaiZunGaming Жыл бұрын
Could you provide source code??
@hakoware101
@hakoware101 5 ай бұрын
thanks for your work! hoping for more videos in the future!
@learning-axis
@learning-axis 5 ай бұрын
sure
@ayen0449
@ayen0449 Жыл бұрын
you use innerHTML a lot and it is said to be a bad habit as far as security is concerned. is it on purpuse?
@sahilrana-hq6gq
@sahilrana-hq6gq 3 ай бұрын
Its just osm❤😊
@shishirislam8948
@shishirislam8948 Жыл бұрын
Nice Video...Very helpful
@learning-axis
@learning-axis Жыл бұрын
thank you
@learningprogramming1308
@learningprogramming1308 8 ай бұрын
What datatype u have choose for image column?
@christiandavebuco
@christiandavebuco Жыл бұрын
thank you so much for this
@_Rajkhatri_
@_Rajkhatri_ Жыл бұрын
can i get complete code please reply?
@kidstime220
@kidstime220 4 ай бұрын
Thank you sir
@Study-ce3zl
@Study-ce3zl Ай бұрын
how to get it saved , so even if i open it after closing the items i put on carts are still there
@tasabehahmed5950
@tasabehahmed5950 Жыл бұрын
Can you please explain local storage for this code?
@momanali6103
@momanali6103 26 күн бұрын
Sir! Hum java k code ki jaga image ka code wasay nai likh skty div me simple ??
@jimboymaningas5967
@jimboymaningas5967 Жыл бұрын
Hello, i liked your video tutorial, can you please help me to add the add to cart into database phpmyadmin, and how to display the add to cart into checkout page and the checkout is also added into database
@Franciscoanselem
@Franciscoanselem Ай бұрын
what if is a multiple time you select a goods like 30times would you be clicking add to cart 30 times
@sheharyarahmed6829
@sheharyarahmed6829 9 ай бұрын
Brilliant, brilliant, brilliant!!!!
@funwithlaiba7186
@funwithlaiba7186 6 ай бұрын
Amazing Video! I always had cart problems and every video i had seen was not-responsive or something like that. Your video was all I needed to achieve my whole website up to the point. Great Work, Keep It Up! Also, do you have a video on a login/sign up page in html? Please Inform me.
@learning-axis
@learning-axis 6 ай бұрын
thank you
@priyankanbd1939
@priyankanbd1939 Ай бұрын
Hlw sir, Js code mai error aa rhii h sir!? Plz correction btaa dijiye
@andresmandique3405
@andresmandique3405 Жыл бұрын
Thank you, your video is awesome!
@learning-axis
@learning-axis Жыл бұрын
Thanks
@pcelarstvosanovic5083
@pcelarstvosanovic5083 Жыл бұрын
Hello. I like your video its so easy to follow, great work. I have a question, how to add to cart products based on weight, example 14€/kg,?
@learning-axis
@learning-axis Жыл бұрын
first, you have to add weight and unit price to objects of the array. Next, create a function that calculates the price according to the weight. Last, call that function into the main function
@mdmydulislam819
@mdmydulislam819 8 ай бұрын
when the page reloads the cart is empty. but I won't stay the cart element
@starexgenius6388
@starexgenius6388 9 ай бұрын
I think posting the image links will help too 😊
@learning-axis
@learning-axis 9 ай бұрын
I provided the link with source code and image files in description
@DurgaDevi-en9eh
@DurgaDevi-en9eh 8 ай бұрын
​@@learning-axiswhere is the source code?
@alexallcool
@alexallcool 4 ай бұрын
@Learning Axis, Hi the page looks great, I opened the page using the code you provided to download, I noticed if a few products added to cart the image container starts stretching down the page moving images, could you please check that?
@learning-axis
@learning-axis 4 ай бұрын
ok, you have to create different div container for cart items. I think I have used single div container for both (Products and cart items).
@Cheetohzz
@Cheetohzz 10 ай бұрын
amazing job! i had an easy time following along and recreating it. My only question is how can I make it look better on mobile phone? when i pull it up on my phone, it looks squished
@natashamuhanjiavugwi1807
@natashamuhanjiavugwi1807 7 ай бұрын
You can use media queries for all screens to be responsive, that's what I usually use and it works well.
@Andre-oz7cw
@Andre-oz7cw 7 ай бұрын
@@natashamuhanjiavugwi1807 what is media queries
@abulbashar68
@abulbashar68 Жыл бұрын
Awesome video am watch your full video. if you give me your source code I would benefit. Thank You so much for uploading this kind of video.
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@olivierbakoyogo1324
@olivierbakoyogo1324 9 ай бұрын
Hello sir @Easy Learn Axis, thank for this amazing video, just wonna know what font awesome is used for and how to use it on your code ? Im a beginner in coding thx. 1:32
@bojacksworldwideweb
@bojacksworldwideweb 5 ай бұрын
Font-awesome is a library of CSS classes and icons that you can import into your code via a script tag that you copy and paste. they have basic and premium subscriptions.
@brayanbrianoliveira2159
@brayanbrianoliveira2159 11 ай бұрын
hello, do you have github?
@giacoco2726
@giacoco2726 Жыл бұрын
do i make it work if the page from where i add the item are different from the one of the cart?
@learning-axis
@learning-axis Жыл бұрын
yes you can
@yanamax193
@yanamax193 Жыл бұрын
Awesome channel. Thanks a lot. Is it possible for each lesson source code? Thank a lot again.
@learning-axis
@learning-axis Жыл бұрын
Yes I will provide saource code, Thank you
@kavipriya8871
@kavipriya8871 Жыл бұрын
@@learning-axis source code
@learning-axis
@learning-axis Жыл бұрын
@@kavipriya8871 source code: shorturl.at/htH12
@PoojaJadhav-kx2by
@PoojaJadhav-kx2by 9 ай бұрын
Thank you so much, i really want it, thank you thank you thank you really thankful 🤧🤧
@learning-axis
@learning-axis 9 ай бұрын
thank you,
@Nothing1997i
@Nothing1997i 26 күн бұрын
How can I show the total price on this page from a different page? (Payment page from your video)
@learning-axis
@learning-axis 26 күн бұрын
you need to create a separate component for that
@Misslevelup-
@Misslevelup- 5 ай бұрын
how are you getting the image to appear from js to the browser. because i followed the steps and the images are not showing please.
@Misslevelup-
@Misslevelup- 5 ай бұрын
because i put all my images in res, i'm really new to this.
@learning-axis
@learning-axis 5 ай бұрын
enter correct paths of all images
@mari-oo6co
@mari-oo6co Жыл бұрын
Hello, this is a bit of a stupid question but how do you get the whole program to run on google chrome (because right now I only get the HTML one running on chrome without the css and javascript)? Thank you for your video, it is great!
@learning-axis
@learning-axis Жыл бұрын
The whole program is running on your chrome. You just need to open html file on chrome
@pandipatipavan3804
@pandipatipavan3804 Жыл бұрын
​@@learning-axis Please share the code files and the links in the description as soon as possible 🙏 thank you so much
@qpunisher8999
@qpunisher8999 Ай бұрын
hello, great video, but what if my cart is on a diffrent html page?
@qpunisher8999
@qpunisher8999 28 күн бұрын
for those who have the same problem i think that if you link the two html to the same .js it should work
@user-qx8in6oc8k
@user-qx8in6oc8k 7 ай бұрын
share another link for the code please the link you sent doesn't work
@MrWirus36
@MrWirus36 Жыл бұрын
How could i add separed category to this products. I would like to see something like this: category a: products; category b: products etc. I would like to get sample code if you want to help
@learning-axis
@learning-axis Жыл бұрын
You can do it by using the filter method. And I will also create a video on this within 2 or 3 days. Thank you
@MrWirus36
@MrWirus36 Жыл бұрын
@@learning-axis But what about adding products to a separate category (after click buy), it requires some complex stuff, indexing everything and so on.
@learning-axis
@learning-axis Жыл бұрын
hello hope you are fine below is the link for category filter: kzbin.info/www/bejne/bGO0na15Z6iJmdE
@vishnupriyapriya6729
@vishnupriyapriya6729 Ай бұрын
Can you please tell how to connect it to my website 😭my sir is gonna check tomorrow!
@shamaafrin4031
@shamaafrin4031 8 ай бұрын
Why so much java script code ? 🙄
@editox_plays
@editox_plays 4 ай бұрын
It's real beauty 😂 of Javascript
@user-yu3lv4ii7u
@user-yu3lv4ii7u Жыл бұрын
image error pls help me
@studyingwithsetsow3728
@studyingwithsetsow3728 9 ай бұрын
The downloaded code is running yet when i copy and paste it does not run do you know what might be causing this?
@atharvdesai2638
@atharvdesai2638 6 ай бұрын
kidhar se download kiya bhai?
@syra7567
@syra7567 Жыл бұрын
Kindly help me with this... I am unable to understand that why he is writing the html code in js file ... What it's called and where I can learn about it 8:08 Help please...
@obinnambalisike6491
@obinnambalisike6491 10 ай бұрын
...same,what happend there
@shyamsharma6257
@shyamsharma6257 Жыл бұрын
Bhai video mai song daalne ki wajai explain karna jyada sahi hota hai
@cricketjourney7771
@cricketjourney7771 Жыл бұрын
How to host HTML ecommerce website through C-panel
@chroeurnvathana1241
@chroeurnvathana1241 5 ай бұрын
Bro mean code ot
@thejanaabeydeera
@thejanaabeydeera Жыл бұрын
How to add another set of products to the next row
@learning-axis
@learning-axis Жыл бұрын
you just need to put image and details in array of objects
@baraahawa
@baraahawa 8 ай бұрын
We can't find the source code in the description! Can you give it here to us please.
@learning-axis
@learning-axis 8 ай бұрын
source code: shorturl.at/htH12
@animeanime8907
@animeanime8907 Жыл бұрын
Hello, anyway to send the cart's info to email?
@learning-axis
@learning-axis Жыл бұрын
yes it can be sent by usingPHP
@thejanaabeydeera
@thejanaabeydeera Жыл бұрын
cart image is not showing..pls provide th fontawsm link
@learning-axis
@learning-axis Жыл бұрын
you should create your own fontawsm account
@nikolatomic4306
@nikolatomic4306 Жыл бұрын
What if your cart is table? How to add all these things inside the table?
@learning-axis
@learning-axis Жыл бұрын
Just use the table tag and assign it an id.
@nikolatomic4306
@nikolatomic4306 Жыл бұрын
@@learning-axis i already did it, but i want when press add to cart button to move product name, price, img etc. to the table but not working well
@learning-axis
@learning-axis Жыл бұрын
@@nikolatomic4306 See this video kzbin.info/www/bejne/mJPEg5l-grNnrqs I used table tag for cart items. It may help you.
@zckai756
@zckai756 Жыл бұрын
Hello how to send cart details to database?
@learning-axis
@learning-axis Жыл бұрын
using php
@azimattar5961
@azimattar5961 Жыл бұрын
Is this project suitable for a resume for beginners?
@learning-axis
@learning-axis Жыл бұрын
may be
@learning-axis
@learning-axis Жыл бұрын
you may combine videos(pagination, category filter, and add to cart) to make project for resume.
@unisarofah3869
@unisarofah3869 6 ай бұрын
Maaf mau tanya itu bagaimana ya cara memanggil fotonya di JS?
@learning-axis
@learning-axis 6 ай бұрын
dengan memanggil jalur gambar
@tallywacker1059
@tallywacker1059 6 ай бұрын
It seems that the link for the source code cannot be reached?
@learning-axis
@learning-axis 6 ай бұрын
No, it's working
@youtubevideo557
@youtubevideo557 Жыл бұрын
How photo???
@doraimeha4823
@doraimeha4823 4 ай бұрын
thank uuu
@learning-axis
@learning-axis 3 ай бұрын
you welcome
@NUMBER-_-ONE
@NUMBER-_-ONE 10 ай бұрын
Responsive??
@gideonaidoo9604
@gideonaidoo9604 9 күн бұрын
how-to-add-items-to-the-cart-from-different-html-pages-using-javascript
@mdleyan118
@mdleyan118 3 ай бұрын
Please source code give in the description plzz
@gitanjaliyadav7598
@gitanjaliyadav7598 11 ай бұрын
I got error at line number 36 and 37 in js file ...please help
@learning-axis
@learning-axis 11 ай бұрын
there may b a erroe in your code. see description for source code
@deepbhikadiya8070
@deepbhikadiya8070 Жыл бұрын
Source code link is not working please give another link fast
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@bojacksworldwideweb
@bojacksworldwideweb 5 ай бұрын
holy-shitt balls, this is the moust challenging application I have made!! those returns stamtents aint NO joke!!
@learning-axis
@learning-axis 5 ай бұрын
cool
@bojacksworldwideweb
@bojacksworldwideweb 5 ай бұрын
@@learning-axis thank you for your guide, I learned new techniques I didn't know.
@learning-axis
@learning-axis 5 ай бұрын
thank you@@bojacksworldwideweb
@balochzaicoding5871
@balochzaicoding5871 Жыл бұрын
Could you provide source code ?? I have same this one project
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@drazmooo8498
@drazmooo8498 Жыл бұрын
​@@learning-axis .
@learning-axis
@learning-axis Жыл бұрын
@@drazmooo8498 yes
@arpitapazare1039
@arpitapazare1039 Жыл бұрын
can you provide the source code of this video?
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@zareentaj1960
@zareentaj1960 Жыл бұрын
@@learning-axis it's not working
@learning-axis
@learning-axis Жыл бұрын
@@zareentaj1960 check again it's working
@coolpatatas9659
@coolpatatas9659 Жыл бұрын
How can to add check out button below the total
@coolpatatas9659
@coolpatatas9659 Жыл бұрын
Like storing the total into MySQL db
@learning-axis
@learning-axis Жыл бұрын
@@coolpatatas9659 it can be done by using php
@coolpatatas9659
@coolpatatas9659 Жыл бұрын
Can you do another tutorial using this project?
@learning-axis
@learning-axis Жыл бұрын
@@coolpatatas9659 Now I am just making front-end tutorials. Later I will start back-end.
@ii_Faz3a
@ii_Faz3a 8 ай бұрын
where images?
@nileshyadav8645
@nileshyadav8645 Жыл бұрын
How to add payment structure
@learning-axis
@learning-axis Жыл бұрын
watch this video: kzbin.info/www/bejne/r3zUlniCeZaertU
@AmeenaSattar-id3ox
@AmeenaSattar-id3ox 29 күн бұрын
sir i have a question k java ma img ka name likhna apnay sath image b likha wo kis liya likha ha meri image show hi nai hu rai ma nay likha tu kindly plz reply
@learning-axis
@learning-axis 29 күн бұрын
imgae ka complete path likhna prta ha. image main image file store krty hain phir us ko map method main call kraty hain.
@AmeenaSattar-id3ox
@AmeenaSattar-id3ox 26 күн бұрын
@@learning-axis sir i cant get your point plz tell in detail
@learning-axis
@learning-axis 26 күн бұрын
@@AmeenaSattar-id3ox first I declared image element in object of array as you can see In javascript. after that I use map method and then I call image from that array.
@Nothing1997i
@Nothing1997i 26 күн бұрын
Please answer my comment 🙏🏻​@@learning-axis
@Tech_Tarzan1999
@Tech_Tarzan1999 Жыл бұрын
why we have use [...new set ] line no 27
@learning-axis
@learning-axis Жыл бұрын
to destructure the array
@zizijaafar3852
@zizijaafar3852 Жыл бұрын
What is the src image in
@learning-axis
@learning-axis Жыл бұрын
These images are stored in array of object. When we need any image we call it from that array.
@sajanmj9625
@sajanmj9625 Жыл бұрын
How can I change the images
@learning-axis
@learning-axis Жыл бұрын
from the array of objects in javascript
@lyric-lover
@lyric-lover Жыл бұрын
Can I add 50 product in same page?
@learning-axis
@learning-axis Жыл бұрын
yes just add objects in given array.
@presentkhoza6769
@presentkhoza6769 8 ай бұрын
Can you please share the source code with us. Please🥺
@learning-axis
@learning-axis 8 ай бұрын
see description
@Podcasthub513
@Podcasthub513 10 ай бұрын
One problem images are not showing
@learning-axis
@learning-axis 10 ай бұрын
did to write the correct path of images?
@meriyemelhajoui4083
@meriyemelhajoui4083 Жыл бұрын
please code Source
@izunduchukwuemika7915
@izunduchukwuemika7915 Жыл бұрын
My Images are not showing
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12\ check this code if it is working?
@sanasingha7600
@sanasingha7600 Жыл бұрын
You link is not working
@learning-axis
@learning-axis Жыл бұрын
@@sanasingha7600 source code: shorturl.at/htH12
@sanasingha7600
@sanasingha7600 Жыл бұрын
Thanks now it's working 🥰
@anatatowatashi9377
@anatatowatashi9377 Жыл бұрын
3:55 5:57
@satyajeetsankpal8668
@satyajeetsankpal8668 Жыл бұрын
Image is not showing plzz help
@learning-axis
@learning-axis Жыл бұрын
first you have to download images, then write the correct path of each image
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@anvu-gm4nw
@anvu-gm4nw Жыл бұрын
when i click on the button it shows an error .....Cannot set properties of null (setting 'innerHTML')
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12 see this code you may get your problem.
@anvu-gm4nw
@anvu-gm4nw Жыл бұрын
@@learning-axis thanks you
@razajawwad9967
@razajawwad9967 Жыл бұрын
Source Code Please.....
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@poorveshsharm_ram7625
@poorveshsharm_ram7625 8 ай бұрын
I want the code please the full code
@learning-axis
@learning-axis 8 ай бұрын
see description
@mahinsurana1706
@mahinsurana1706 8 ай бұрын
hi can you provide the source code for this video
@learning-axis
@learning-axis 8 ай бұрын
there is a code link in description
@atharvdesai2638
@atharvdesai2638 6 ай бұрын
nahi hai desc mai lavde@@learning-axis
@learning-axis
@learning-axis 6 ай бұрын
source code: shorturl.at/htH12@@atharvdesai2638
@vallientertainment4956
@vallientertainment4956 5 ай бұрын
how to add ₹ instead of $
@learning-axis
@learning-axis 5 ай бұрын
replace $ with ₹
@carlvintlouisecalang3146
@carlvintlouisecalang3146 6 ай бұрын
where is the cartItem Id?
@learning-axis
@learning-axis 5 ай бұрын
it is in the array of objects
@nody6989
@nody6989 Жыл бұрын
I want the source code
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@MaxStudioCG2023
@MaxStudioCG2023 Ай бұрын
another incomplette cart video ...(where is the case when customer add same product more times ,should have also that option with a + - arrow to select in the cart )
@son3038
@son3038 Жыл бұрын
source code pls?
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@Ahmed-Shalaby
@Ahmed-Shalaby 10 ай бұрын
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
@karam_ah1359
@karam_ah1359 Жыл бұрын
How can you add a discount code to this?
@learning-axis
@learning-axis Жыл бұрын
you mean promo code discount?
@karam_ah1359
@karam_ah1359 Жыл бұрын
Yeah so you can enter a code and then you get a percentage of money of your total
@learning-axis
@learning-axis Жыл бұрын
@@karam_ah1359 watch this video: kzbin.info/www/bejne/mJPEg5l-grNnrqs
@karam_ah1359
@karam_ah1359 Жыл бұрын
@@learning-axis good vid! , but are you able to add the promo code to this code instead? If you can, would be much appreciated bro
@ubaid.ur.rehman921
@ubaid.ur.rehman921 Жыл бұрын
Can y provide code ?
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@ubaid.ur.rehman921
@ubaid.ur.rehman921 Жыл бұрын
@@learning-axis Thanks
@Vicky-og9em
@Vicky-og9em Жыл бұрын
Source code plZ
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@serranogiffd.5744
@serranogiffd.5744 Жыл бұрын
source code?
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@mahadevmushrooms
@mahadevmushrooms Жыл бұрын
kasooti
@ezramelaku4075
@ezramelaku4075 Жыл бұрын
Source Code???
@learning-axis
@learning-axis Жыл бұрын
source code: shorturl.at/htH12
@annatodor6903
@annatodor6903 8 ай бұрын
nu inteleg ma pis pe el
Ecommerce Website | Product Page Design | HTML, CSS & JavaScript
12:53
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 53 МЛН
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 92 МЛН
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
How To Make a Bee Movie Type Beat
10:53
Snapp Makes Beats
Рет қаралды 4,8 М.
React For Beginners 3 : Create React App Using Vite
5:25
Code Stoic
Рет қаралды 25 М.
How to create a CSS navigation bar in 6 minutes! 🧭
6:28
Bro Code
Рет қаралды 197 М.
Full React Tutorial #22 - Exact Match Routes
5:24
Net Ninja
Рет қаралды 231 М.
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 53 МЛН