Autograding HTML, CSS and JS websites using CodeGrade
October 13, 2021

Webinar: Autograding Web Development in CodeGrade

With our latest webinar, you will learn everything you need to know to start manually and automatically grading your Web Development courses. We went over grading basic HTML and CSS websites, autograding JavaScript and autograding SQL in CodeGrade. We are also very excited to have had our first ever teacher showcase in this webinar: Johan Holmberg and Anton Tibblin from the Malmö University in Sweden showed how their teaching team uses Jest and Selenium to autograde user interfaces in a very powerful and flexible way! This webinar was part of our monthly Focus Groups and was recorded on October 8th 2021, it is available on demand now.

Learn more about the topics covered in this webinar:

Autograding User Interfaces and User Experience using Selenium and Jest

In this webinar, Johan Holmberg and Anton Tibblin discuss how they have used Selenium and Jest to set up automatic grading for their web development course. We have already covered this in a previous guide (which you can read here!), which was based on Johan's original GitHub page. You can find all setup scripts and example tests in Johan's public GitHub guide. Thank you very much Johan!

Autograding Databases in CodeGrade

At the end of this webinar, we discuss autograding databases courses in CodeGrade. It is very easily possible to install any SQL or NoSQL software on CodeGrade and use whichever software you prefer. In the webinar, we discuss how you can set up autograding for SQL queries using SQLite. You can find more information about autograding SQL in some of our blog posts, for instance: How to autograde MySQL assignments in CodeGrade or How to autograde using SQLite in CodeGrade.

Use CodeGrade to fully autograde your web development assignments now!

Using CodeGrade's Rendered View to manually grade Web Development

CodeGrade's Rendered View for a simple CSS, HTML and JS web page

In the webinar, we discuss how CodeGrade's Render Viewer makes it really easy to manually and visually assess websites that were handed in by students. Simply open the HTML file and press Render and CodeGrade will do its magic. If grading large numbers of students manually using the Rendered View, a good practice is to set the file to load first to `/index.html`, read more about that here.

Autograding JavaScript in CodeGrade

In the webinar, we discuss some best practices for autograding pure JavaScript inside CodeGrade. CodeGrade has a couple of convenient tools pre-installed:

  • Node.js to run JS code without loading a web page
  • Jest to unit test JS code
  • Mocha to unit test JS code
  • ESLint to check Code Quality of JS code

The above just lists a brief overview of what is discussed in the webinar. In the webinar, we also discussed more best practices for web development in CodeGrade. We are here to make your course with CodeGrade a success, so please do not hesitate to reach out to us on Discord or via with any question, feature request or if you would like some technical or educational consultancy. We are always more than happy to help you out!

Devin Hillenius

Devin Hillenius


Continue reading

How to Stop Caring about Grades

Learn to save time with grading with alternative methods for teaching. Make your course accessible and inclusive with methods backed by research.

How to Stop Caring about Grades

Embracing a New Era: Harnessing Generative AI for Computer Science Education

Discover the transformative impact of Generative AI (Gen AI) on computer science education. Explore innovative tools and methodologies reshaping learning experiences and preparing learners for an AI-centric future. Uncover benefits, challenges, and evolving practices at the intersection of technology and pedagogy.

Coding Quizzes are here!

Discover the latest addition to CodeGrade: coding quizzes! Elevate your learning experience with dynamic assessments seamlessly integrated with AutoTest V2. Engaging, clear, and user-friendly. Learn more now!

Coding Quizzes are here!

Transforming CS Education: Innovative Strategies for Curriculum Enhancement

Discover how Experiential Learning Theory transforms traditional teaching methods and improves computer science curriculum for optimal student engagement and success.

Sign up to our newsletter

See how CodeGrade can transform your courses today!