Latest Posts

  • FreeCodeCamp - Cash Register

    FreeCodeCamp - JavaScript Algorithms and Data Structures Projects: Cash Register. This project is a great demonstration of IEEE 754 float point arithmetic issue.

  • FreeCodeCamp - Roman Numeral Converter

    FreeCodeCamp - JavaScript Algorithms and Data Structures Projects: Roman Numeral Converter. Only decimal numbers less than 4000 will be considered in this blog for simplicity.

  • 如何在HTML标题两侧添加横线(方法2)

    上一篇文章中,我们使用其中一种方法实现了在HTML标题两侧添加横线的目的,并且总长度固定的。这次我们看看如何让横线的总长度随标题的长度而变化。

  • 如何在HTML标题两侧添加横线(方法1)

    网页文章的标题元素,也就是<h1>一直到<h6>,对于一篇网页文章的重要性是不言而喻的。它们在视觉上对网页进行了分段,配合上文章的导航标签(Table of Content)可以让读者整体上对文章有个清晰的结构认知。通过在标题两侧添加横线,可以将这种网页分段进一步加深,这篇文章我们就来看看如何去实现。

  • Make your Jekyll Github Pages appear on Google search result (2 steps)

    There is no point to make a website if it can not be indexed on Google, so lets take a look at how to make your site and pages appear on Google search result.