The growth of employment opportunities in the information technology sector and the shortage of well-trained professionals in this field are a recurring theme in recent years in both Europe and North America. In this sense, research studies that analyse the causes of the reduction of students who are interested in computer science mainly point to young people being unaware of the type of tasks computer scientists perform. Therefore, in order to try to reverse this trend many types of initiatives have been organized seeking to bring the world of computing to children and adolescents. In the same vein, the main objective of the Europe Code Week, an initiative which was held in parallel in 38 countries and in which more than 100,000 people participated, is to show the beauty and fun associated with programming as a means of attracting young people to computer science to get endow the European labour market with well-trained professionals who are required in this field. In this paper, in addition of presenting the goals and most relevant facts of this initiative, its relationship to other similar research work is analysed, the lessons learned after its first two iterations are shared, and suggestions to improve future editions are made, with special focus on improve the possibilities of assess its impact and results more accurately.