Introduction

Several factors are involved in learning English as a second language (L2); the most important factors are psychological attributes (Haidara, 2016; Hashemifardnia et al., 2021) including attitude, aptitude, intelligence, anxiety, and motivation (Qureshi et al., 2020; Rahimi & Fathi, 2021). Among these factors, motivation is the key factor affecting L2 learners’ achievement (Derakhshan et al., 2021; Ehrman & Oxford, 1995; Gradman & Hanania, 1991; Gardner & MacIntyre, 1991; O’malley & Chamot, 1990; Pawlak et al., 2021; Riding & Cheema, 1991). Harmer (2007) defines motivation as “the dynamically changing cumulative internal drives in people that initiate, direct, coordinate, amplify, terminate, and evaluate the cognitive and motor processes” (p. 98). By these drives, initial wishes and desires are chosen, prioritized, operationalized, and successfully or unsuccessfully acted out. Motivation is also characterized as an internal drive that pushes people to do things to reach their intended goals (Harmer, 2007; Melhe et al., 2021). As pointed out by Brown (2000), motivation is a construct applied to indicate the success or failure of challenging tasks.

Another psychological factor influencing L2 learning is anxiety. It refers to “the subjective feelings of tensions, apprehensions, nervousness, and worries concerned with an arousal of the autonomic nervous systems (Dörnyei, 2011). According to Zhang (2001), language anxiety is the psychological tension that L2 learners go through in conducting learning tasks. Language anxiety includes the negative feeling of worries and fear-related emotions concerned with utilizing or learning a language which is not an individual’s native language (Dörnyei, 2005; MacIntyre & Gregersen, 2012; Tahmouresi & Papi, 2021).

Attitude is another psychological factor affecting L2 learning. A positive attitude toward L2 learning is facilitative, but a negative attitude toward L2 learning is a hindrance (Knouse et al., 2021). L2 learners’ attitude can be defined as a collection of feelings considering language use and its status in the community. According to Gardner (2010), attitude is the evaluative reactions to some referents or attitude objects based on the people’s beliefs or ideas about the referents. It seems that having a positive attitude toward L2 and its native speakers can be anticipated to develop learning while having a negative attitude can hinder it (Ahmed et al., 2015).

Over the last years, due to the emergence of the COVID-19 pandemic, all nations have been immensely affected. They have faced challenging problems, which inevitably have influenced the educational system as well, with unpleasant consequences for instructors and students. Online learning seems to be the best compensation for the lack of education (Wolfinger, 2016). These unexpected modifications might produce some problems in ensuring the effectiveness of education in online classes (Hasan & Bao, 2020; Mahyoob, 2020; Rapanta et al., 2020).

Considering the importance of psychological factors, such as motivation, anxiety, and attitude in L2 learning and the quick extensive shift to online learning, it is essential to explore the effects of online learning on EFL learners’ motivation, anxiety, and attitude. However, a cursory glance at the literature reveals that this issue has remained unexplored in the Iranian EFL context. Therefore, the present study aims to further our understanding of the effects of online learning on EFL learners’ motivation, anxiety, and attitude. The findings of the present study may be helpful for EFL teachers to create a learning setting in which EFL learners get motivated, handle their anxiety, and shape positive attitudes toward L2 learning.

Review of the literature

Motivation in L2 learning

Psychological factors, including motivation, anxiety, and attitude, are mentally dealt with by L2 learners. It is evident that in L2 education, learners’ motivation is crucial for their intended achievements (Tejada Reyes, 2019; Tuan, 2012). As stressed by Sara et al. (2017), motivation is the main factor influencing L2 learners’ success or failure. Ryan and Deci (2000) note that having motivation implies being moved to conduct a task or an activity. Contrary to unmotivated students, motivated students are energetic and dynamic to accomplish the given tasks. Interest, curiosity, and desire to do a task are the primary agents that compose motivated students (Gardner, 2010; Kim & Kim, 2021; Williams & Burden, 1997). In sum, the concept of motivation includes behavioral aspects which relate to individuals’ needs, expectations, and goals (Esra & Sevilen, 2021; Esteves et al., 2021; Steers & Porter, 1991).

There are two sorts of motivation, including intrinsic and extrinsic. Intrinsic motivation refers to the effects of the inside aspects of people; intrinsically motivated students try to meet personal needs. Dörnyei (1998) asserted that intrinsically motivated students acquire language for their own self-perceived needs and objectives. Furthermore, Dörnyei and Ushioda (2013) stress that intrinsic motivation deals with conducting something since it is innately interesting or pleasurable. In contrast, the extrinsic motivation is produced by outside agents. In other words, it is the motivation associated with the external factors that influence students’ attitude toward learning, for example, learning to find a job, make money, or get good scores. According to Dörnyei (2011), extrinsically motivated individuals carry out the tasks hoping to receive outward results and prizes. Some other classifications of motivation are available in the literature. For example, Wang and Guan (2020) classify motivation into positive and negative (demotivation) types. Motivation in this conceptualization would yield either facilitative or debilitative results.

The primary motivation theories include Behavioral, Cognitive, and Humanistic. From the perspective of behaviorism, motivation is a matter of rewards that perform as the reinforcers for proper behavior. Behaviorists claim that students try to do identical behaviors if they have previous experiences with a reward, for instance, teachers’ praises and grades (Brown, 2004). The cognitive perspective of motivation claims that individuals control their actions and make decisions on their own to reach the intended objectives (Deci & Ryan, 1975). Humanistic perspectives of motivation consider the individual as a whole and investigate the interrelationship of the various human needs. One of the most prominent humanistic theories is the Abraham Maslow hierarchy of needs. He categorized the needs into two main classifications: deficiency and growth. The deficiency needs are physiological, safety, belongingness and love, and esteem needs. The growth needs are cognitive needs, aesthetic needs, and self-actualization (Sara et al., 2017).

When it comes to online learning, motivation needs considerable attention (Hartnett, 2016; Li & Tsai, 2017; Özhan & Kocadere, 2020). According to Hartnett (2011), it is a complex concept which is affected by internal, external, and personal factors. As highlighted by Song (2000), internal factors deal with the characteristics of the course which may affect students’ motivation. External factors are related to the features of the learning environment that may influence students’ motivation. Personal factors refer to the changes in students’ motivation that may be created by the traits of students. As students are not highly inclined to join online classes and the attrition rates are high, their motivation should be examined carefully (Kim & Frick, 2011).

Anxiety in L2 learning

The other psychological factor affecting EFL learners’ achievement is anxiety. It is ubiquitous among EFL learners and defined as negative feelings of apprehension during examinations, presentations, and public speech. This reduces their energy and concentration to successfully complete academic tasks. (Dörnyei, 2011; Horwitz, 1986). The concept of anxiety in L2 learning has gained the status of a precise technical notion (Tahmouresi & Papi, 2021; Young, 1994), with more consonant research results of the negative impacts of language anxiety on L2 learners’ achievement (e.g., Horwitz 1991; MacIntyre, 1988; Qinghua, 2021; Tallon, 2009).

Psychologists have identified three types of anxiety: trait anxiety, state anxiety, and situation-specific anxiety (Dörnyei, 2011). Trait anxiety refers to the global or general anxiety and students’ constant feelings of anxiety in different situations (Brown, 2000). State anxiety is referred to feelings of stress and fears when students experience when they face threats. Situation-specific anxiety is a type of anxiety in which students are anxious in particular contexts (Dörnyei, 2011). According to Horwitz (1986), tests, communication apprehensions, and peer evaluations are the three primary sources of anxiety. However, other factors, such as stage fear, the fright of being laughed at, students’ personality, teachers’ teaching styles (Oxford, 1999; Madjid & Samsudin, 2021; Sudina & Plonsky, 2021), students’ learning styles, learning situation itself, first language (L1) skills and the whole process of L2 learning can be the causes of anxiety (Reid, 1995; Sudina & Plonsky, 2021).

The previous studies have shown that language anxiety can influence language skill enhancement in various areas: communication apprehension (Daly & McCroskey, 1994), reading comprehension (Saito et al., 1999), oral proficiency (Young, 1992), communicative skills (Phillips, 1999), writing skills (Leki, 1999; Tahmouresi & Papi, 2021), and listening skills (Vogely, 1999). The literature review implies that L2 teaching/learning methodologies should reduce the level of anxiety and tension among high–anxious learners to decrease the pervasive cognitive, academic, social, and personal undesirable impacts on L2 learning settings (Horwitz, 2001; Namaziandost et al., 2022a, b; Young, 1999).

Attitude in L2 learning

When it comes to L2 learning, undoubtedly, attitude is one of the significant personality factors that indirectly affects the levels of proficiency obtained by L2 learners. According to Montero et al. (2014), how L2 learners develop their competence is mainly affected by their attitude toward either a target language or a target culture. Baker (1992) defines “attitude as a hypothetical concept applied to describe the directions and perseverance of people behavior” (p. 10). The previous studies have indicated that attitude plays a key role in L2 learners’ final achievement (Azizi et al., 2022; Bal-Taştan et al., 2018; Hosseini & Pourmandnia, 2013; Namaziandost et al., 2022a, b; Tsunemoto & McDonough, 2021). There are two reasons why investigation on L2 learners’ attitude is significant. First, the attitude toward learning affects L2 learners’ behaviors (Moskowitz & Dewaele, 2021; Moşteanu, 2021; Weinburgh, 2000). Second, a positive correlation between the attitude and L2 learners’ achievements has been found (Tsunemoto & McDonough, 2021; Weinburgh, 2000).

Lambert (1967) suggests two kinds of attitude toward L2 learning: ‘integrative’ and ‘instrumental.’ The integrative attitude is a desire to know and get friendly with language speakers. However, an instrumental one is a desire to better oneself materially through the language. He adds that the integrative attitude is more likely to succeed than an instrumental one.

When students have the required readiness, it can be assured that the intended educational objectives can be realized in online classes (Hukle, 2009). L2 learners do not achieve the required readiness unless they enjoy positive attitudes toward online classes (Kruger-Rose & Waters, 2013). In other words, as highlighted by Usta (2011), L2 learners’ attitude toward instructional programs is a determining factor for their success or failure. In online classes, L2 learners’ attitudes are shaped by cognitive, effective, and behavioral aspects. In online classes, L2 learners shape positive attitudes by reacting to all stimuli of the virtual contexts, making active their own desire, energy, and thoughts, responding to the effect, and changing it into behaviors. In sum, L2 learners’ attitudes toward online learning can be directly associated with the students’ learning outcomes (Herguner et al., 2020; Usta, 2011).

Online learning during the COVID-19 pandemic

The global outbreak of the COVID-19 pandemic has exerted dramatic effects on the educational systems around the world, leading to schools and universities lockdown (Carrillo & Flores, 2020; Murphy, 2020). Based on the data released by UNESCO, as cited in Mohammadimehr (2020), more than 1.5 billion students have been influenced by the COVID-19 pandemic, and they have experienced radical educational changes. Educational centers have faced unanticipated challenges during these challenging times. In response to this worldwide emergency, they have resorted to online learning (Mohammadimehr, 2020; Sahu, 2020; Shahidi, 2020). Indeed, online learning is an appropriate option for teaching different courses because it has been developing for years and has provided new chances for students, instructors, educational planners, and institutions (Rahimi et al., 2021; Mayadas et al., 2009). Online learning, created and evolved with the advent of the Internet and the development of technology, involves designing, compiling, presenting, and evaluating students’ learning and uses e-learning capabilities to facilitate it (Ahmed & Al-Kadi, 2021; Shafiee Rad et al., 2022; Moore & Kearsley, 2011). However, to make the way for efficient learning of students, it is necessary to transcend emergency online practices and create quality online learning activities that stem from meticulous instructional designs and plans (Hodges et al., 2020). In this virtual environment, the affective factors, such as motivation, anxiety, and attitudes may play a key role in students’ learning. Therefore, it is essential to explore and consider them in online classes.

Education officials seem to have to look for other alternatives for face-to-face education. The main alternative has been online learning which has absorbed noticeable attention across the globe. Here, we critically review some of the studies which have addressed this issue. In a study, Ahmed and Elttayef (2016) explored the effects of applying Skype as a social instrument network on boosting English students’ discourse competence. Their findings revealed that the Skype tool positively influenced the participants’ discourse competence. Further, Abbasi et al. (2020) explored the effects of using the Moodle course management system on improving EFL learners’ speaking skills. Their results indicated that the Moodle course management system was useful to boost the participants’ speaking skills.

Additionally, Alipour and Ehmke (2020) inspected the impacts of online vs. blended learning on enhancing Iranian EFL learners’ vocabulary learning. The results documented that the learners who received instruction through both online and blended learning outperformed the control group. Moreover, their findings revealed no remarkable difference between the online and blended learning groups in terms of gains of learning. Besides, Razmjou (2021) examined the effectiveness of online learning compared with face-to-face learning in cultivating Iranian EFL learners’ achievement. The results revealed that the participants who were intruded through online classes performed as good as the participants who joined the face-to-face classes. Likewise, Namaziandost et al. (2021) examined the potential impacts of applying WeChat-based online instruction on Iranian EFL learners’ vocabulary development. Their results showed that the WeChat-based online instruction improved significantly the participants’ vocabulary learning. Moreover, Meşe and Sevilen (2021) conducted a qualitative case study to examine L2 learners’ perceptions of online instruction and how it influenced their motivation over a period of a seven-week course. Both interviews and creative writing tasks indicated that the students believed that the online learning negatively affected their motivation due to a lack of social interactions, a mismatch between expectations and contents, organizational problems, and the organization of learning situations. Besides, Hashemifardnia et al. (2020) examined the effects of Massive Open Online Course (MOOC) on Iranian EFL learners’ speaking complexity, accuracy, and fluency. The findings showed that there were significant differences between the post-test of the experimental group and the control group with regard to the gains of speaking. In addition, the results indicated that the participants held positive attitudes toward using MOOC instruction for raising speaking ability. Finally, Dirjal et al. (2021) inspected the effects of Skype on enhancing EFL students’ listening and speaking skills. The outcomes of the research uncovered that after receiving their teaching instructions via Skype tool, the experimental participants were highly motivated in their listening and speaking skills. As a result, a remarkable difference was found between the experimental group and the control group in terms of listening and speaking performance at the end of the instruction.

Having reviewed the literature, it is clear that most investigations examined the effects of online learning on improving the four primary language skills, and very few studies have addressed the impacts of online learning on psychological factors among Iranian EFL learners. In response to this long-lasting gap in the literature, the present study sought to investigate the effects of online learning on Iranian EFL learners’ motivation, anxiety, and attitudes during the COVID-19 pandemic. To meet these objectives, the following research questions were put forward:

  • RQ1. Does using online learning have any significant effects on Iranian EFL learners’ motivation and anxiety during the COVID-19 pandemic?

  • RQ2. Do Iranian EFL learners hold positive attitudes toward using online learning during the COVID-19 pandemic?

Methodology

The researchers used a quasi-experimental design to run the present study. According to Riazi (2016), a quasi-experimental design is used to manipulate an independent variable to reveal its effects on one or more dependent variables and distribute participants into experimental and control groups to derive cause and effect relationships using statistical analysis. Having homogenized the participants, two groups, namely an experimental group and a control group, were made up and went through pre-test, treatment, and post-test procedures. Therefore, using a quasi-experimental design, the present study explored the effects of online learning on Iranian EFL learners’ motivation, anxiety, and attitude.

The present study was run at Iran Language Institute (ILI) in Ahvaz, Iran. ILI is a non-profit language organization in Iran with the national mission of developing foreign language learning. It has a lot of branches across the country. Using the convenience sampling method, a total of 293 upper-intermediate EFL learners took the Oxford Quick Placement Test (OQPT) and the learners whose scores (n = 200) fell around the mean were selected and assigned randomly to an experimental group (n = 100) and a control group (n = 100). The convenience sampling method is a non-probability sampling where the sample is chosen solely based on the convenience (Mackey & Gass, 2015). The participants included just male students due to gender segregation in educational centers in Iran. They aged from 17 to 33 years old and were learning English as a foreign language four hours per week. It is worth noting that the participants expressed orally their consent to participate in the study. The researchers ensured that their responses during the study would remain confidential and they would be kept informed about the final findings.

To carry out this research study, some distinct steps were taken. At first, a total of 200 upper-intermediate participants who had been homogenized using OQPT were selected, and assigned to two groups, namely an experimental group (n = 100) and a control group (n = 100). Then, the FLCAS and the AMTB questionnaires were administered to all the sub-groups to measure their anxiety and motivation before introducing the treatment. Afterwards, the respondents in the experimental sub-groups were sent the materials online via Skype application since they all had easy access to this application. The researchers held online classes for the experimental sub-groups, and five lessons from Family and Friends Book 5 were taught to this group. On the other hand, the participants in the control group were taught using a traditional method that was not equipped with the Internet, and the Skype application. One of the researchers attended the class personally and started to teach the lesson to the control group. He provided synonyms and antonyms for the words, played the audio files of the conversations, taught the grammar inductively, and asked the students to do the practices and do the workbook at home. After teaching each lesson, the researchers gave a related exam to the students. This procedure continued till teaching five lessons to the students of all the sub-groups. The study lasted 10 one-hour sessions (one session per week). In the first, second, and third sessions, the OQPT test, the FLCAS, and the AMTB questionnaires were administered respectively. During 5 sessions, the treatment (teaching five lessons) was conducted; in the following ninth and tenth sessions, the FLCAS and the AMTB questionnaires were administered again as the post-tests of the study. The attitude questionnaire was administered only to the experimental sub-groups to check their opinions about online instruction in the last session. Of particular note is that the instruments were administered on the same date to meet the ethical requirements.

Instruments

To run the present study, the researchers used four instruments to collect the required data. The first instrument was the Oxford quick placement test (OQPT) to make the participants homogenized. The primary reason for using the OQPT was that it is widely used to determine EFL learners’ proficiency. It included 60 multiple-choice items measuring the language proficiency of English learners. According to the suggested band scores, the students who scored from 40 to 48 were considered upper-intermediate and selected as the target participants of the present study.

The second instrument included the Foreign Language Classroom Anxiety Scale (FLCAS) questionnaire, designed and validated by Horwitz (1986). As the name suggests, it was used to gauge the participants’ anxiety before and after the treatment. FLCAS consists of 33 items to measure the participants’ responses based on a five-point Likert scale from Strongly Disagree to Strongly Agree.

The third instrument was a questionnaire adapted from Gardner’s (2004) international version of the Attitude/Motivation Test Battery (AMTB) used to measure the participants’ attitudes and motivation. The original test battery consisted of 12 scales with 104 items merged into six variables. However, in the current study, the items of the questionnaire were focused on measuring integrative motivation, instrumental motivation, attitudes toward learning situations, and students’ motivation with 74 items. The scale used in the questionnaire was a five-point Likert-type scale from Strongly Disagree (1) to Strongly Agree (5).

The last instrument entailed an attitude questionnaire given to the respondents of the experimental group to probe their attitudes toward using online learning during the COVID-19 pandemic. The researchers designed the questionnaire by reviewing the related literature on online learning. This questionnaire contained 20 items (see Appendix 1). The scale used in the questionnaire was a five-point Likert scale from Strongly disagree (1) to Strongly Agree (5).

It should be noted that the researchers recruited two experts in translation to back-translate the questionnaires, meaning to translate it from English to Persian and then back to English. The primary reason was to avoid any misunderstanding on the part of the respondents and increase the validity of their answers. The instruments were piloted on a sample of 130 students whose language proficiency, age, and gender were the same as the target participants to check the credibility of the instruments. The exploratory factor analysis (EFA) was run at this stage. The following steps were taken to conduct the EFAs: (a) checking the data set, (b) selecting a factor extraction method, (c) determining the number of factors retained, (d) choosing a factor rotation method, and (e) interpreting the factor solution. The preliminary tests of normality for the items of each questionnaire showed no deviations from normality. The correlation matrixes were used to screen the items. Normally, the coefficients below 0.3 and greater than 0.9 should be eliminated. The determinant values of the correlation matrixes were greater than the necessary value of 0.00001 in all utilized questionnaires, indicating that there were no multicollinearity effects in the data. A principal component analysis (PCA) was conducted on the 44 items with orthogonal rotation (varimax). The Kaiser–Meyer–Olkin measure verified the sampling adequacy for the analysis, KMO = 0.802 for FLCAS, and 0.783 for the Attitude towards Online Learning Questionnaire. Additionally, all KMO values for individual items were > 0.71. Also, Bartlett’s test of sphericity indicated that correlations between items were sufficiently large for PCA. Values above 0.4 were retained and the final rotated correlation matrix showed each item had the highest loading on the evaluated construct. As the instruments were back-translated, the researchers also measured their construct validity using confirmatory factor analysis (CFA). The CFA was used with the participants in the main study (N = 200). The analyses were run via AMOS (v. 24) using the Maximum Likelihood (ML) method. The resulting CFA analyses showed a good it to the data in the measurement model for the FLCAS (χ2 = 7.32, df = 4, χ2/df = 1.63, CFI = 0.98, GFI = 0.99, AGFI = 0.97, RMSEA = 0.07, PCLOSE = 0.32). the CFA analyses for the AMTB also showed a good fit to the data (χ2 = 6.52, df = 5, χ2/df = 1.12, CFI = 0.99, GFI = 0.99, AGFI = 0.98, RMSEA = 0.06, PCLOSE = 0.63). Finally, the CFA for the Attitude towards Online Learning Questionnaire yielded a good fit to the data, (χ2 = 6.52, df = 13, χ2/df = 1.38, CFI = 0.99, GFI = 0.99, AGFI = 0.98, RMSEA = 0.05, PCLOSE = 0.78).

Additionally, two university professors in Applied Linguistics were invited to assess the face and content validities of the instruments. Overall, they reported that they enjoyed the required face and content validities. Based on these findings, the researchers assured that the instruments enjoyed the required validity. Concerning the reliability, it was measured using Cronbach’s Alpha. The results yielded (α = 0.98) for the OQPT, (α = 0.86) for FLCAS (the anxiety part), (α = 0.86) for FLCAS (the motivation part), and (α = 0.88) for the attitude questionnaire.

Data analysis procedures

The collected data were analyzed through SPSS, version 22. First, the basic descriptive statistics, such as mean (M) and standard deviation (SD) were calculated. Second, a one-way MANOVA was used to determine the effects of the treatment on the participants’ motivation and anxiety. Finally, a one-sample t-test was used to analyze the data gathered via the attitude questionnaire.

Results

Before running the one-way MANOVA test, the researchers checked out the required assumptions, including multivariate normality, homoscedasticity, linearity, independence, and randomness. Moreover, the correlations between dependent variables ranged between − 0.2 and 0.4. The Kolmogorov-Smirnov tests of normality and Levene’s tests of variance were above the alpha level of 0.05. Since the outcome variables were normally distributed within each group of the factor variable, the multivariate normality assumption was met. As equal or similar variances in the different groups were compared, the homoscedasticity assumption was met too. Because all of the dependent variables were linearly related to each other, the linearity assumption was met as well. Also, since the participants were randomly assigned to the experimental group and the control group and they just participated in one group, the assumption of independence and randomness was met. Therefore, the researchers could run a one-way MANOVA.

Table 1 reports that the study included one categorical, an independent variable with two levels: the experimental group and the control group. Each group included 100 participants.

Table 1 Results of between-subjects factors

As reported in Table 2, M (152.00) and SD (10.53) for the control group and M (66.78) and SD (14.35) for the experimental group were calculated in turn on the anxiety post-test. Additionally, M (338.46) and SD (23.02) for the experimental group and M (160.92) and SD (26.20) for the control group were calculated respectively on the motivation post-test.

Table 2 Results of descriptive statistics for the anxiety post-test and motivation post-test

To see if there was a statistically significant difference between the obtained means, a one-way MANOVA was run. As reported in Table 3, a Wilk’s Lambda value of 0.007 with a significant value of 0.00 < 0.05 was obtained. That is, using online learning had a significant effect on the Iranian EFL learners’ motivation and anxiety during the COVID-19 pandemic.

Table 3 Results of multivariate tests for the anxiety post-test and motivation post-test

As reported in Table 3, since a significant value was obtained on the multivariate test, it should be examined whether the experimental group and the control group differed on all the dependent measures or just one. This information is presented in Table 4. As a number of separate analyses were involved, a higher alpha level was set to protect against Type 1 error by applying Bonferroni adjustment (Pallant, 2020). In this case, we had two dependent variables to investigate; therefore, 0.05 was divided by 2, giving a new alpha level of 0.025 (Table 5).

Table 4 Results of tests of between-subjects effects for the anxiety post-test and motivation post-test
Table 5 Results of estimates for the anxiety post-test and motivation post-test

As seen in Table 4, two of the dependent variables, anxiety (0.00 < 0.025) and motivation (0.00 < 0.025), recorded a significance value. It indicates that there was a significant difference between the experimental group and the control group regarding both anxiety and motivation.

As observed in Table 7, Partial eta squares of 0.96 and 0.99 for anxiety and motivation, respectively, are considered quite large effect sizes (Tabachnick et al., 2007). The partial eta squares represent the proportion of the variance in the dependent variables that were explained by the independent variable. The large effect sizes indicate that 96% of the variance in anxiety and 99% of the variance in motivation are explained by the independent variable.

As indicated in Table 6, although the experimental group and the control group differed in terms of anxiety and motivation, it cannot be derived from Table 4 which group had higher scores. As presented in Table 5, the mean score for the experimental group regarding anxiety (M = 152.84) was higher than the control group’s mean score (M = 65.93). It also shows that the mean score for the experimental group regarding motivation (M = 339.55) was higher than the mean score of the control group (M = 159.82). To probe if this difference was statistically significant, the researchers run a one-way MANOVA. The results of the one-way MONOVA are presented in Table 7.

Table 6 Results of pairwise comparisons for the anxiety post-test and motivation post-test
Table 7 Results of multivariate tests for the anxiety post-test and motivation post-test

As seen in Table 7, there was a statically significant difference between the experimental group and the control group on the combined dependent variables, (F(2, 195) = 1460.10, p < .001; Wilk’s Lambda = 0.007; partial eta squared = 0.99). When the results for the dependent variables were considered separately, anxiety (F(1, 196) = 5328.21, p < .001, partial eta squared = 0.96) and motivation (F(1, 196) = 22985.07, p < .001, partial eta squared = 0.99) were significantly different for the experimental group and the control group, using Bonferroni adjusted alpha level of 0.025. An inspection of the mean scores indicated that the experimental group reported higher levels of anxiety (M = 152.84) and motivation (M = 339.55) than the control group concerning anxiety (M = 65.93) and motivation (M = 159.82), respectively (Table 8).

Table 8 Results of univariate tests for the anxiety post-test and motivation post-test

As noted above, the second research question explored if the Iranian EFL learners held positive attitudes toward online learning during the COVID-19 pandemic. To answer this research question, the researchers ran a one-sample t-test. The results are reported in Table 9.

Table 9 Results of one-sample t-test of the attitude post-test

As seen in Table 9, the value of the T-value is 77.66, df = 19, and Sig is 0.02, which is less than 0.05. Thus, it was concluded that the learners had positive attitudes toward online learning to promote their L2 learning during the COIVD-19 pandemic. Furthermore, the eta squared value was 0.86, indicating that there existed a large effect size. That is, the significant changes in the participants’ attitudes could be associated with the independent variable, the online classes.

Discussion

Discussion on the first research question

As noted above, the first research question explored whether online learning significantly affects Iranian EFL learners’ motivation and anxiety during the COVID-19 pandemic. The findings evidenced that compared to the control group, the motivation and anxiety of the experimental group positively changed at the end of the online instruction. Based on the results, it may be argued that these positive changes may be associated with using online learning. In other words, the positive effects of the instruction offered through the Skype application might have helped the participants to reduce their anxiety and increase their motivation. Accordingly, in line with the findings, it is reasonable to argue that the participants might have shaped the positive attitudes toward online learning.

The findings of the study are congruent with those of Dirjal et al. (2021), indicating that the learners who received instruction through the Skype tool got motivated to improve their speaking skills and listening skills. Moreover, the results of the study lend support to those of Terantino (2014), revealing that Skype videoconferencing had positive impact on the improvement of the students’ anxiety.

To recap the discussion of the findings, we can refer to the fact that learning with the Skype application might have provided valuable opportunities for sharing ideas and information. Along with Hashemifardnia et al. (2020), it may be argued that online learning might have assisted the participants to consolidate their knowledge and skills by having easy access to unbounded online resources (Hilliard et al., 2020; Peng et al., 2022). Another line of discussion for the findings may be ascribed to this view that the offering of the instruction through the Skype application might have created a comfortable setting for the EFL learners to interact freely with their classmates and instructors, leading to decreasing their anxiety and increasing their motivation. Further, another line of discussion for the results, as Richter and McPherson (2012) argue, during online learning, the EFL learners might have got access to the learning materials and teachers’ explanations of the key points even after the class. Such an advantage might have assisted the participants to refer back to the materials shared before. Accordingly, they might have corrected the lack in their competencies and consolidated them substantially. This, in turn, may have acted as a positive factor to reduce their anxiety and increase their motivation. Likewise, aligned with DeVaney (2010), it may be argued that as the online learning might have provided a learner-centered setting, paving the way for the participants to learn English more independently, it might have helped them to learn based on their needs and interests. This, accordingly, might have been fruitful for the learners to shape the positive attitudes toward the online learning.

Another line of discussion for the results of the study may be associated with the view that the availability and flexibility of the Skype application might have assisted the learners to boost their motivation and handle their anxiety in doing the tasks and obligations (Bolliger & Halupa, 2012; Yu, 2019). In addition, as Namaziandost et al. (2021) argue, another probable reason for the findings of the study may be attributed to this view that the Skype application might have expanded the learning environment outside of the classroom context. As such, the participants might not have felt anxious not to lose the learning materials presented in the online classes. Moreover, the findings of this research may receive support from the online collaborative learning theory, suggested by Harasim (2012). Along with this theory, it may be argued that the Internet facilities might have created a learning environment through which the learners might have increased the amount of collaboration and knowledge building. According to this theory, it may be argued that the learners might have solved their problems through cooperation with other peers, which might have led to a substantial learning development. Besides, our results may be supported by connectivism (Siemens, 2004). As Kop (2011) argues, knowledge might have been constructed by interactions that occurred in Skype.

Discussion on the second research question

As noted above, the second research question explored if the Iranian EFL learners held positive attitudes toward online learning during the COVID-19 pandemic. The findings revealed that the learners shaped positive attitudes toward using online learning during the COVID-19 pandemic. The results may be discussed from this view that the participants might have felt relaxed to express their opinions and ideas in the online learning, leading to shaping the positive attitudes. Furthermore, along with Hashemifardnia et al. (2020), it may be argued that access to online course materials might have been a helpful agent in shaping a favorable attitude toward online learning. Additionally, it might be argued that the learners had more contact with their teachers and peers without time and location limitations in online learning. It might be the other justification for presenting positive attitudes toward online learning. The results of this study lend credence to the findings of Joseph and Nath (2013). They indicated that 66% of the participants expressed a positive attitude toward online learning. Also, the findings of the study lend support to those of Sahli and Bouhass Benaissi (2018), showing that the respondents held positive attitudes toward online instruction to improve writing skills. In addition, our research findings are supported by Cinkara (2013), indicating that their learners had positive attitudes toward online learning in Turkish EFL contexts.

Another potential reason for the participants’ positive attitudes toward online learning might lie in the convenient built-in functions of applications and the portability of digital devices (Yu et al., 2022). The built-in functions are the already available functions in applications and programming languages that are easy to use by the users. Based on the findings, it may be argued that since the participants found the built-in functions easy to use, they might have promoted their learning efficiently. This, in turn, might have acted as a major reason for the learners to shape positive attitudes toward the online learning. Another line of discussion for the findings may be ascribed to the benefits of online learning (Azizi, 2022; Tzankova et al., 2022). In other words, the students might have developed useful skills by using specialized knowledge, creating efficient processes, and making decisions about best communication practices, such as what should be discussed face-to-face or electronically (Adedoyin & Soykan, 2020; Paudel, 2021). These outstanding benefits might have pushed the participants to increase their motivation, control their anxiety, and shape positive attitudes toward online learning.

Conclusion and implications

According to the findings of this study, we can conclude that using online instruction could exert positive effects on English language learning by increasing EFL learners’ motivation and reducing their anxiety. Since we live in an era of information and communication technology, it is evident that education, especially L2 education, is under the effects of it (Namaziandoast et al., 2021; Yu & Hu, 2022). These technological developments have been combined with the advent of multimedia. As time goes on, modern multimedia has evolved in the contexts of online contexts. Accordingly, language teachers are recommended to consider the online environments as valuable resources for enriching and empowering English teaching and learning.

Some implications may be presented for different stakeholders and practitioners in light of the findings of the study. Firstly, the policy-makers in the ministry of education may benefit from the findings of this study to move a part of the education to the virtual environment. They should supply the required infrastructures for this valuable purpose and educate teachers to act professionally in online classes. Secondly, school principals and language institute owners may want to equip their educational centers with new technological devices like computers to let EFL learners take advantage of online classes. Thirdly, EFL learners may gain insight into the effectiveness of online classes to reduce students’ anxiety, increase their motivation, and shape their attitudes positively. To this end, they need to improve their digital literacy such that they can adapt their instruction to the new learning environment. Fourthly, based on the results of the study, materials developers may want to accommodate the net technologies into materials development for EFL learners. In such a way, EFL learners may not be deprived of the advantages of online classes. Finally, in line with the findings of the study, EFL learners should take urgent steps to use online classes to improve their language proficiency. For example, they may want to engage in technological devices, so their digital self-efficacy improves.

An important point must be mentioned here. While this study mostly advocates the advantages of online classes, doubtfully, e-learning always comes with challenges, too (Wang & Derakhshan, 2021; Wang et al., 20222021).

Some limitations were imposed on the present study, which may lay the groundwork for further research for researchers. First, as the current study used a quantitative design, future studies can use qualitative designs to shed light on this topic from other different perspectives. For example, semi-structured interviews can be used to investigate Iranian EFL learners’ perceptions of using online learning to affect their motivation, anxiety, and attitude. Second, as this study selected just male EFL learners, future studies can choose their participants from female EFL learners to increase the generalizability of the findings. Third, since the current study included 200 EFL learners, future studies are needed to incorporate larger samples in other parts of the country to increase the external validity of the results. Fourth, anxiety, motivation, and attitude are complex constructs that may vary from culture to culture. These constructs are also closely associated with individual differences (IDs), therefore some cross-cultural studies in future studies can deepen our understanding in this regard. Last but not least, because this study addressed just motivation, anxiety, and attitude of Iranian EFL learners during the COVID-19 pandemic, interested researchers may explore other affective factors, such as self-efficacy and willingness to communicate.