create news about emma array with news items

use js to map the array and add list items for
each news item
This commit is contained in:
emma 2025-02-20 00:08:58 -05:00
parent 5bc025bd27
commit e884545530

View File

@ -8,6 +8,12 @@ const backgroundColor = "#ffd4de";
const backgroundColorNightMode = "#240046"; const backgroundColorNightMode = "#240046";
const textColorNightMode = "#f1dac4"; const textColorNightMode = "#f1dac4";
const linkColorNightMode = "#4cc9f0"; const linkColorNightMode = "#4cc9f0";
const emmaNews = [
`01-16-2025 - i'm focusing on studying and trying to get used to the idea of pursuing interests because i can. i wrote a blog post today about how hard the concept is to me`,
`01-23-2025 - i'm working on moving my blog to blog.emmas.place it is hosted on weblog.lol, a part of the omg.lol service`,
`02-20-2025 - i've been spending time learning how to use astro instead of handcoding my site. with time there will be a lot here. i like the way content is managed in astro`
];
--- ---
<html lang="en"> <html lang="en">
@ -56,15 +62,7 @@ const linkColorNightMode = "#4cc9f0";
<h3>news about emma</h3> <h3>news about emma</h3>
<ul> <ul>
<li> {emmaNews.map((news) => <li>{news}</li>)}
12-25-2024 - i'm going to try to get back into the swing of learning javascript. i had taken a little break due to life. but this wonderful home of mine on the web came out of that break so i'm happy about that too!
</li>
<li>
01-16-2025 - i'm focusing on studying and trying to get used to the idea of pursuing interests because i can. i wrote a blog post today about how hard the concept is to me
</li>
<li>
01-23-2025 - i'm working on moving my blog to <a href="https://blog.emmas.place" target="_blank">blog.emmas.place</a> it is hosted on weblog.lol, a part of the <a href="https://omg.lol" target="_blank">omg.lol</a> service
</li>
</ul> </ul>
</section> </section>
</main> </main>