おはようございます。
昨日から新たなプログラミング言語「Go」っていうのを始めてみましたどうもハヤトワンです。
名前からして良い。←
ということで、今朝のコーディング。
https://github.com/HayatoMoromasa/sample/tree/main/changeImageColor
クリックで背景の色が変わる感じ。
const bg = document.getElementById('bg');
function randomColor(){
return Math.floor(Math.random() * 255);
}
bg.addEventListener('click', () => {
bg.style.backgroundColor = 'rgba('+randomColor()+','+randomColor()+','+randomColor()+')'
});
スタイルではmix-blend-mode:hue;を使っとります。
良き。
続いて今日の英語。
Major or Course:専攻またはコース
If they didn’t go to college, they have less opportunity when it comes to finding job.:彼らが大学に行かなかった場合、彼らは仕事を見つけることになると機会が少なくなります。
advance:前進
Living in America is not a choice for me:アメリカに住むことは私にとって選択ではありません
Mentally drained:精神的に消耗している
Mentally drained= your brain is tired
He introduced me to DMM Eikaiwa:彼は私にDMM英会話を紹介してくれました
His English is improving that’s why I become interested in learning English just like him:彼の英語は上達しているので、私は彼と同じように英語を学ぶことに興味を持つようになりました
subsidiaries or branches:子会社または支店
newbie:初心者
ということで、今日も良い一日を〜