God the Father did it all by himself.
In the beginning God created the heavens and the earth.
Genesis 1:1 NASB
Thus says the Lord, your Redeemer, and the one who formed you from the womb,
“I, the Lord, am the maker of all things,
Stretching out the heavens by Myself
And spreading out the earth all alone,
Isaiah 44:24 NASB
Jesus did.
6 There came a man sent from God, whose name was John.
7 He came as a witness, to testify about the Light, so that all might believe through him.
8 He was not the Light, but he came to testify about the Light.
9 There was the true Light [Jesus, pres. auth.] which, coming into the world, enlightens every man.
10 He was in the world, and the world was made through Him, and the world did not know Him.
John 1:6-10 NASB
15 He [Jesus, pres. auth.] is the image of the invisible God, the firstborn of all creation.
16 For by Him all things were created, both in the heavens and on earth, visible and invisible, whether thrones or dominions or rulers or authorities—all things have been created through Him and for Him.
17 He is before all things, and in Him all things hold together.
Colossians 1:15-17 NASB
Both of them did it.
… yet for us there is but one God, the Father, from whom all things come and we exist for Him; and one Lord, Jesus Christ, by whom all things are made, and we exist through Him.
1 Corinthians 8:6 NASB
Intro
If there is water in a glass and water outside that glass, is that a Contradiction? Of course not. It is only perceived as a Contradiction by those who cannot imagine it. Likewise, if God created heaven and earth, is it a Contradiction that Jesus being Lord and God, took his part in creation? Of course not.
Foundations
The Hebrew Bible (Old Testament) begins with the information that God created heaven and earth.
It is fitting that the apostle John begins his Gospel with more information about that wonderful occurrence, as follows:
1 In the beginning was the Word [Jesus, pres. auth.], and the Word was with God, and the Word was God.
2 He [Jesus, pres. auth.] was in the beginning with God.
3 All things came into being through Him [Jesus, pres. auth.], and apart from Him nothing came into being that has come into being.
John 1:1-3 NASB
Primacy of John
All information about “Jesus in Creation” in the New Testament arises from this statement of John, who begins speaking about the WORD and later on remarks that the Word was Jesus (John 1:14): “And the Word became flesh,” that is: Jesus.
(For the insight that the Gospels were the first written documents of the Christians, see Jesus Stenographers, p. 133 – 142.)
Results
God the Father had his part in Creation. It was His Will that creation occurred. In the spiritual world with his Son and the Spirit, He spoke to Them to fulfil this Will.
God the Son, being the Word, spoke and heaven and earth came into being.
God the Spirit was above the waters (Genesis 1:2), order above chaos, being the Vehicle for the Word. He brought the Word where it should come to create (and He still does).
They, the Father, the Son and the Spirit were and are altogether united, being God.
No Bible Contradiction