Dev Diary Entry, 2nd June 2020
In these difficult times, be mindful of your media and news consumption and limit how often you read the headlines. Take a break if it’s getting overwhelming! Stay informed, but also stay healthy.
- I added
scroll-behavior: smoothto this site for a nicer scrolling animation and also added a media query for those that prefer reduced motion.
- Stop setting the language of your website based on user location - I agree with this post, instead use the browser’s or system’s language.
- When (not) to use the
<br>element - Only use
<br>for separating text in things like poems or addresses, and not as an impromptu paragraph.
✍️ View all my Dev Diary posts here.