Not too bad - you don't really need to go to the trouble of linking jQuery just to do add/remove an attribute though. I'd do that with vanilla JS (actually I wouldn't, I'd find a No JS way to do it). Also, not sure on some of your class naming - you don't really need to be quite so specific with some of those rules, given that this is all that's on the page. I get that if you have other ".title" elements then maybe you'd want to be more specific but that's what I mean about your naming - if you don't need those rules to apply anywhere else, just create a class that's specifically for that task, and apply a less specific rule. That's a style thing though - obviously it works fine as it is.
@CodingPlay3 ай бұрын
Appreciate your suggestions! Thanks for watching
@pankajravi91462 жыл бұрын
wonderful bro, i just used your code on my website, though i will make few changes, but thanks much . Cheers !
@querinoland84132 жыл бұрын
amazing, would I put an action when I click to expand I trigger a sound? with javascript?
@jasimimran60482 жыл бұрын
Amazing content keep it up! i just have 1 question when you apply - - bg in style how does that whole system work I'm a bit confused on that.
@CodingPlay2 жыл бұрын
Good question! --bg is a CSS variable and I declared it in the HTML file for each "card" div and called it in the CSS file.
@jasimimran60482 жыл бұрын
@@CodingPlay oh okay I also noticed that you used a URL for applying a picture my question is what would I have to do if I had an image already downloaded and I had to apply those pictures on the card? P.S: Amazing content it would be even better if you provided a voice-over simultaneously.
@CodingPlay2 жыл бұрын
@@jasimimran6048 Simply change the url("YOUR_IMAGES_PATH")
@CodingPlay2 жыл бұрын
@@jasimimran6048 I will try my best to use my voice in the future but currently I don't have a proper recording mic and an acoustic environment.