猫好きな老体気味SEの備忘録

タイトル通り、不定期更新、基本猫の話題は奥さんのブログに他力本願

I learn English. Day 8) review Day 4.

今日はDay 4のおさらいをしています

Day 6から実装したWeb Speach APIによってネイティブ発音も確認できますが、問題が一つ残っています

その問題とは、ブログトップで表示させたときに最新記事のボタンは正しく動きますが、同じページに表示されている別の表に設置したボタンが正しく動かず、最新記事の同じ行の英文を話してしまいます

まだ改造が必要ですが、一旦記事単位で表示してしまえばこの問題がないので時間ができたときに考えます

#日本語英語ボタン🔘
1こんにちは、私はサラです。
27歳で、元々はボストン出身ですが、現在はニューヨークに住んでいます。
私はグラフィックデザイナーとして働いており、自由な時間にはハイキング、読書、新しいレストランの試食を楽しんでいます。
Hi, I'm Sarah.
I'm 27 years old and I'm originally from Boston, but now I'm living in New York City.
I work as a graphic designer and in my free time, I enjoy hiking, reading, and trying out new restaurants.
2こんにちは、私はジョンです。
55歳のシステムエンジニアで、サンフランシスコに住んでいます。
私は30年以上にわたりテクノロジー業界で働いており、
ビジネス向けのソフトウェアソリューションの開発を専門としています。
仕事以外では、
家族との時間を過ごしたり、メタバース空間で仲間と交流を楽しんでいます。
新しい仮想世界を探索し、世界中の人々とつながるのはとても興奮します。
自由な時間には、英語学習をして言語スキルを向上させ、海外旅行の準備をしています。
新しい文化に触れたり、現地の料理を試したりするのが大好きです。
また、新しいプログラミング言語を学ぶことも好きで、それらを通じて創造性を表現することができます。
Hello, I'm John.
I'm a 55-year-old system engineer living in San Francisco.
I've been working in the tech industry for over 30 years,
and I specialize in developing software solutions for businesses.
When I'm not working,
I enjoy spending time with my family
and meeting friends in the Metaverse.
It's exciting to explore new virtual worlds and connect with people from all over the globe.
In my free time,
I study English to enhance my language skills and prepare for my overseas travels.
I love to immerse myself in new cultures and try local cuisines.
I also enjoy learning new coding languages, as they allow me to express my creativity in different ways.