An electronic device comprising: a housing including a first face oriented in a first direction and a second face oriented in a second direction; a transparent cover provided in at least a portion of the first face of the housing; a display disposed between the transparent cover and the second face; a sensor (240, 740, 840) disposed between the display and the second face; and a control circuit electrically connected to the sensor (240, 740, 840) and configured to control the sensor (240, 740, 840), wherein the display includes: a first display area (723, 823) provided with a plurality of pixels including light-emitting elements (9232, 9233, 9234) capable of displaying at least three colors of red, green and blue, and a second display area (724, 824) aligned above at least a portion of the sensor (240, 740, 840) to pass light from outside the electronic device to the sensor (240, 740, 840); wherein the second display area (724, 824) includes first areas with light-emitting elements capable of displaying at least three colors of red, green and blue and second areas without light-emitting elements, wherein each second area is disposed between adjacent first areas in a first direction and the second areas are regularly disposed between the first areas in a second direction perpendicular to the first direction, wherein the display includes wiring lines configured to transmit signals to the light-emitting elements, wherein the wiring lines are disposed across the first display area (723, 823) and the second display area (724, 824), and wherein the wiring lines disposed in the second display area are opaque, and the opaque wiring lines detour around the second areas and are collectively disposed in the first areas. a housing including a first face oriented in a first direction and a second face oriented in a second direction; a transparent cover provided in at least a portion of the first face of the housing; a display disposed between the transparent cover and the second face; a sensor (240, 740, 840) disposed between the display and the second face; and a control circuit electrically connected to the sensor (240, 740, 840) and configured to control the sensor (240, 740, 840), wherein the display includes: a first display area (723, 823) provided with a plurality of pixels including light-emitting elements (9232, 9233, 9234) capable of displaying at least three colors of red, green and blue, and a second display area (724, 824) aligned above at least a portion of the sensor (240, 740, 840) to pass light from outside the electronic device to the sensor (240, 740, 840); a first display area (723, 823) provided with a plurality of pixels including light-emitting elements (9232, 9233, 9234) capable of displaying at least three colors of red, green and blue, and a second display area (724, 824) aligned above at least a portion of the sensor (240, 740, 840) to pass light from outside the electronic device to the sensor (240, 740, 840); wherein the second display area (724, 824) includes first areas with light-emitting elements capable of displaying at least three colors of red, green and blue and second areas without light-emitting elements, wherein each second area is disposed between adjacent first areas in a first direction and the second areas are regularly disposed between the first areas in a second direction perpendicular to the first direction, wherein the display includes wiring lines configured to transmit signals to the light-emitting elements, wherein the wiring lines are disposed across the first display area (723, 823) and the second display area (724, 824), and wherein the wiring lines disposed in the second display area are opaque, and the opaque wiring lines detour around the second areas and are collectively disposed in the first areas.