Autograding HTML, CSS and JS websites using CodeGrade
Guides
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 support@codegrade.com 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!

Continue reading

Join our next webinar on Java autograding!

Learn how to automatically grade Java assignments and streamline your teaching with CodeGrade.

Best Practices for Rubric Design in Coding Assignments

Discover best practices for rubric design in coding education. Learn to align rubrics with learning objectives, use automated tests, and explore ungrading for fairer, growth-focused assessments

Watch now! How to teach Python

Watch our 2024 webinar for updates on the Introductory Python course, including new modules, knowledge checks, and grading automation with CodeGrade.

Follow A New User!

See how CodeGrade streamlines grading and improves assignment design in programming courses.

Sign up to our newsletter

Transform your coding course today!