im trying to create a small program when the user add a new book it should suppose to add the new book in the list but when im clicking on the add button it keeps asking me enter some value im working on this for 5 hours and still can not find it why im getting this any help would be appreciated in advance
just one more question do you know how to make it works when the user moves the mouse pointer onto a list element, the element moves to right “80 pixels” and its font size increases “1em”.
Comment posted by here
Based on your actual code, there are two ways to make this effect: using CSS like
Comment posted by marie
i saw that but im trying to do is when the user moves the mouse pointer onto a list element, the element moves to right “80 pixels” and its font size increases “1em”
Comment posted by marie
Thank you for taking time and helping but i want to do that jquery not css
Comment posted by marie
thank you so muchhhhhhh <3 .just one more question do you know how to make it works when the user moves the mouse pointer onto a list element, the element moves to right “80 pixels” and its font size increases “1em”.
Comment posted by Hyunnique
@marie I can’t actually know how you want to move object, but try using something like li:hover at css and control font-size and paddings.
Comment posted by marie
I want to change the font size of the item incrementally when you mouse hover the item with jQuery
Comment posted by Hyunnique
@marie I think you’d better use :hover css pseudo class to make code clean, but if you really want to do it with incremental way just do $(“li”).on(“mouseover”, function(e){ $(e.target).css(“font-size”, “+=1em”); }); and on mouseleave event “-=1em”.