So I'm about to run my code in my arduino project but then suddenly an error pops up it says "Failed uploading: no upload port provided". So i went to the port menu to COM3 port, but the port option is inaccessible (it can't be clicked)
So I watch some youtube videos, and they say i must download the ch340 driver. But when i finished downloading it and about to install the driver, the message prompt says "The drive is successfully pre-installed in advance"
That is the message of a successful install if a board with CH340 is not detected.
Does you board have the CH340 serial-to-usb converter or does it have another one (16U2/FTDI/CP21xx)? It's the chip closest to the USB connector.
Which light? The power light should always come on when you connect but that does not mean that the board is recognised; check what Windows device manager thinks of your board. If Windows has problems detecting the board you will never see it in the IDE.
I might have missed it but which board are you using?
Which one do you have on your board? Square (first image) or rectangular (second image).
The blue circled one is never an Atmel 328P; not enough legs (pins).
Please provide a link of the kit that you bought or a clear photo of your board.
Because Windows does not recognise your (never used before) board at all, your problem is either in Windows, the cable or the indicated chip in the images. I would start with the cable (it might be faulty or charge-only) and buy a new one in a computer shop.
No. The big chip (left top) is the 328P (as it should be) and it differs in dimensions and pins from the small chip that I showed. The small chip (right bottom) is the 16U2 (as you identified it).
So from that perspective it is an Uno.
Seeing that you have all kind of wires connected, start by removing all of them and see if Windows does recognise the board. What did you all connect?
That is great; you can take the board and cable back and ask them to demonstrate. If you have a laptop that you were testing with, take that as well so you can demonstrate your full setup.