In the previous article, we set up our starter code in index.html and styles.css to organize the website into different sections. In this article, we will go over some more advanced CSS and JS techniques to enable a color mode toggle and ensure design consistency across light mode and dark mode.

First we need to define some custom properties (aka CSS variables) within our CSS that will change whenever we toggle the color mode.

In the rest of our CSS code, we can reference these values using var(variable-name) which will correspond to a different value based on what theme


Building an online portfolio is one of the most common projects for computer science students. I’ve used the following design as my primary website for the past few months, but during my recent winter break I realized there were several design flaws that inhibited the effectiveness of the site.

I’ll first talk briefly about why I chose this design. The main reason is simply that I wanted to set up my website as fast as possible, so I found a free bootstrap theme online to use as a starter template. …


This is the third article of a 3-part series about using Ludwig to perform Sentiment Analysis on the Stanford Sentiment Treebank dataset. Part 1 provides an introduction to the dataset and shows how to train two types of models (Bi-LSTM and parallel-CNN). Part 2 describes the BERT model and how to use it in Ludwig. You can follow along with the code through our Colab notebook.

Authors: Michael Zhu, Kanishk Kalra, Elias Castro Hernandez, and Piero Molino

Images thanks to Debbie Yuen

Introduction

In this article, we will be using Ludwig — a deep learning toolkit based on Tensorflow — to…

Michael Zhu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store