Foundation engineering is the core course for civil engineering undergraduate students. In the new era, basic engineering has been developed and applied to the fields such as ocean engineering, transportation engineering, energy and environmental protection. The traditional teaching content did not cover the new challenges in these areas. The paper explored the building of the foundation engineering course from the aspects of teaching content, teaching concept, teaching methods and assessment methods of the course, the main innovative measures are expanding the teaching content of foundation engineering to the ocean, transportation, energy and environmental protection, etc. and introducing the "scenario-stimulated teaching model" to fully mobilize the subjective initiative of students in the new era and improve students' participation in curriculum and engineering practice. The course is designed to cultivate civil engineers with new vision, solid foundation and strong practical ability.