Building a slideshow using Free Frontend

I’m building a slideshow, using one on freefrontend.com/css-slideshows/. I’m basically modifying one to my needs.

Are the samples above acceptable to use on a project? I couldn’t find the terms, but it says they are free.

Also, just a general question as I’m self-taught, do web developers sometimes use existing code and then customize it? Or does everything have to be from scratch? In this case, it seems like it makes sense to just modify something to my needs as it would save a lot of time.

Thanks.

I looked at the first one on the list and I saw this in the details.

Copy
Copyright (c) 2021 by Riley Adair (https://codepen.io/RileyAdair/pen/ZvyYzr)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

It says its free as long as you display the copyright notice in full. I imagine the others are the same but you will need to refer to the details page on each codepen or demo.

If they do what you want, and you have stress tested in various browsers, and if they meet accessibility needs then they should be fit for purpose :slight_smile:

All the time. There’s no need to re-invent the wheel when you know a code block is good and has been tested thoroughly.

It depends on what you are building.

The problem with all these sliders is that they often cater for every eventuality and the code is therefore quite bloated if all you wanted was a simple fade that could be done in a few lines of js (or indeed in css only). However when you start adding various animations, captions, mobile screens, responsive images, keyboard access, tabbing etc. then you are better off using something that already does those things properly and efficiently.

The slick carousel is one that gets a lot of recommendations.

Yes if you can find a slider that does what you want and is optimised towards your goals and has no restrictions on usage then it may make sense to use it. Make sure though that you more or less understand how it works otherwise you won’t be able to fix it if it goes wrong :slight_smile:

3 Likes

Thanks for your response. Basically, I want to create a slideshow similar to this: https://codepen.io/bcarvalho/pen/gWPvJB

The creator uses TweenMax, which is apart of this toolset: https://greensock.com/

This looks pretty advanced to learn, at first glance at least.

I’d like an animated slide with text that appears and pops up, like in that example.

Can this be done with Slick Carousel and CSS animations? I would like to figure out the code on my own. I’m pretty new to animations, so a point in the right direction would be very helpful.

Thanks again! :slightly_smiling_face:

Slideshows by their very nature are quite complicated beasts which is why its generally better to use something like slick or indeed like the codepen you posted.

I coded a very simple slideshow from scratch for a recent question in the forum but it soon became complex.

That’s without doing any fancy animation for the captions or setting up pagination etc.

If the codepen you posted is close to what you want then why re-invent the wheel.

If on the other hand you are going to be doing lots of carousels in the future then something like slick would be useful to get under your belt because it has a lot of options for modifications.

I’d only be inclined to write my own if it was something simple like the codepen of mine but even that one is pretty complex and not a 5 minute task.

It all depends on your exact requirements and how much time you want to spend on it.:slight_smile:

1 Like

After doing research, I think Bootstrap’s carousel feature may be the best option:

If you are already using bootstrap then the bootstrap carousel would seem the most appropriate as it will use a lot of the existing bootstrap code.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.