Number Input Spinner UI Design | CSS3 & Vanilla Javascript

Number Input Spinner UI Design | CSS3 & Vanilla Javascript

Online Tutorials

4 года назад

36,503 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ahmad technical
Ahmad technical - 21.08.2022 02:00

Your css is in next level !

Ответить
عيسى الخليدي
عيسى الخليدي - 10.01.2022 17:42

let x=0;
let increment=document.getElementById("inc");
let decrement=document.getElementById("de");
let nu=document.getElementById("nu");
increment.onclick=function(){
nu.innerHTML=++x

}
decrement.onclick=function(){
if(x==0)
nu.innerHTML="0"
else
nu.innerHTML=--x;
}
Slightly simplified javascript code
thanks thanks thanks ♥♥♥♥

Ответить
Hoàng Đỗ
Hoàng Đỗ - 17.01.2021 13:20

idol, in the above video, how do you do so when the code is finished, you don't need to load the page again, it refreshes itself

Ответить
Josh Rangel
Josh Rangel - 27.08.2020 19:51

Hi. I absolutely adore your channel. But usually when we talk about spinners in web development, are we not referring to the spinning loading animations we see when we're waiting for something to load? That's what I was looking for when I clicked on this video, and if you have a tutorial on those, I would love to know.

Ответить
Shivani Saraiya
Shivani Saraiya - 24.05.2020 17:05

It would be really nice if you could provide source with the video

Ответить
Rahul R
Rahul R - 05.12.2019 11:07

Creating arrows with border was cool.
But creating all that span seems unnecessary, should have just read the value of span using innerHTML and then convert to int using parseInt() and then increment or decrement 1 + or - function.

Ответить
귀염둥이 천십억
귀염둥이 천십억 - 05.12.2019 03:43

감사합니다.

Ответить
ورشة السلطان بالمنيا
ورشة السلطان بالمنيا - 05.12.2019 01:25

Спасибо, профессор .. Абдулрахман Тахер из Египта .. Спасибо за ваши усилия

Ответить
ورشة السلطان بالمنيا
ورشة السلطان بالمنيا - 05.12.2019 01:24

Thank you, Professor .. Abdulrahman Taher from Egypt .. Thank you for your efforts

Ответить
ورشة السلطان بالمنيا
ورشة السلطان بالمنيا - 05.12.2019 01:20

شكرا يا استاذ ..
عبدالرحمن الطاهر من عرب محافظة المنيا ..اتشرف في اي وقت
بارك الله فيك علي مجهوداتك وكثر الله من امثالك

Ответить
Isa
Isa - 04.12.2019 22:10

Can you please share the link for your new Udemy course? I've been looking for it.

Ответить
sarmad ali
sarmad ali - 04.12.2019 20:45

Need one video on how can we create all types of geometric shapes... and what type of animation on CANVA login page can you do this

Ответить
Usman Abid
Usman Abid - 04.12.2019 18:40

Bro You Are My Inspiration And Love You From My Heart.

Ответить
Chris
Chris - 04.12.2019 18:35

This video could use less music. Great otherwise.

Ответить
SneakyJay
SneakyJay - 04.12.2019 17:58

Filling the DOM with unuseful elemnts like the 99 x span elements is really not recomended. You could use js in a much more efficient manner to increase or decrease the number. Also as an ecommerce site designer the production environment most of the time require you have a max qty a min qty and a qty step for increment. :) the idea of hovering to display the control buttons is good.

Ответить
Michel Ventura
Michel Ventura - 04.12.2019 17:39

thaaaanks man !

Ответить
pH Jhop
pH Jhop - 04.12.2019 16:59

Im still waiting for the splash screen :D

Ответить
pH Jhop
pH Jhop - 04.12.2019 16:58

Nice tutorial! You are so amazing LOL your mind have all the libraries both css, and javascript etc.

Ответить
Vishnu Paregi
Vishnu Paregi - 04.12.2019 16:54

Always Rocking!!

Ответить
Suman Majhi
Suman Majhi - 04.12.2019 16:35

Can you develope another responsive website?

Ответить
Mohamed Imthiyas
Mohamed Imthiyas - 04.12.2019 16:34

Really nice works

Ответить
Webnoob
Webnoob - 04.12.2019 16:33

That's a charming and well-designed input number field, love it. Keep definitely up the great work, you are an inspiration.

Ответить
Khalil Jayab
Khalil Jayab - 04.12.2019 16:31

You are nice 👌

Ответить