Half knot is easy and effective for connecting two ropes or closing a loop
Just take the two ends as if they are one and make the simplest of knots (like the one in brackets). Pull to close it and test. In almost all materials, this knot will not slide or loosen.