Trying to create a table with foreign keys and its missing a few rows
The foreign keys are defined on course_no and student_id. Assuming the error is a foreign key violation (big assumption, please post the full error in future questions) it must be one of those two at fault. Other rows reference course EE200 so it's not that; so student 018 doesn't exist in the student table. Similarly MA220 so student 021 is missing. With EE220 / 016 there are no comparators so either or both could be missing. Given your record I'd suggest the student.

This is basic stuff and fundamental to the concept of foreign keys. You should read up on the concept and ensure you write data in a sequence that respects the constraints you have defined. Otherwise you are in for a world of pain.