Automatically translated.View original post

javascript writing format in conjunction with html

# Web Site Writing Basics

# javascript

Writing JavaScript (JS) in conjunction with HTML can take many forms, depending on the needs and complexity of the project. Here are some of the main formats used:

1. Embedding code in the < script > tag (Internal JS)

You can write JavaScript code directly within the same HTML file. Using the < script > tag, it is typically placed at the end of the < body > tag, ensuring that all HTML elements are finished loading before the script starts.

Example:

HTML

< html >

< head >

< title > Internal JavaScript < / title >

< / head >

< body >

< h1 > Internal JavaScript implementation < / h1 >

< button onclick = "showAlert ()" > Click here < / button >

< script >

/ / The JavaScript code is here.

showAlert function () {

alert ("Hello! This is a message from Internal JavaScript");

}

< / script >

< / body >

< / html >

2. External JS file link

This is the most recommended format for large projects or projects with a lot of JavaScript code. You will write the entire JavaScript code in a separate file (usually ending with the extension .js) and link it to an HTML file using the < script > tag with the src attribute.

Advantages:

Easy to handle: HTML and JavaScript code are separate, making it easier to maintain and read.

Reusable: A single JS file can be combined with multiple HTML pages.

Performance: The browser can cache (Cache) external JS files, making them load faster on the next visit.

Example:

index.html file:

HTML

< html >

< head >

< title > External JavaScript < / title >

< / head >

< body >

< h1 > External JavaScript implementation < / h1 >

< button id = "myButton" > Click here < / button >

< script src = "script.js" > < / script >

< / body >

< / html >

File script.js:

JavaScript

/ / External JavaScript code is in this file.

document.getElementById ('myButton') .addEventListener ('click', function () {

alert ("Hello! This is a message from External JavaScript");

});

3.Writing code in the HTML attribute (Inline JS)

This is to write short JavaScript code directly in the attributes of HTML tags such as onclick, onmouseover, or onchange.

Caution:

Not recommended for complex code or bulk code

This makes the code difficult to read and difficult to maintain.

Against the Separation of Concerns

Example:

HTML

< html >

< body >

< h1 > Inline JavaScript implementation < / h1 >

< button onclick = "alert ('Hello from Inline JS!');" > Click here < / button >

< / body >

< / html >

Summary and Recommended Practices

Format Method Recommended for

External JS External .js file. Welded with < script src = "file .js" > < / script > all projects, especially large projects ().

Internal JS code in a < script > tag inside a short HTML code file or a simple experiment.

Inline JS code in HTML attributes (e.g. onclick) Avoid if you can, used only for simplest functions

2025/9/28 Edited to

... Read moreนอกจาก 3 รูปแบบหลัก (Inline / Internal / External) ที่หลายคนเจอเวลาเริ่มเขียน html javascript แล้ว อีกเรื่องที่ทำให้ “โค้ดไม่ทำงาน” บ่อยมากคือเรื่องตำแหน่งการวาง <script> และการรอให้ DOM โหลดเสร็จก่อนค่ะ 1) วาง <script> ไว้ตรงไหนดีถึงปลอดภัย? - ถ้าวางไฟล์ External JS ไว้ท้าย </body> (ก่อนปิดแท็ก) ส่วนใหญ่จะเวิร์กสุด เพราะ HTML โหลดปุ่ม/องค์ประกอบต่างๆ เสร็จก่อน แล้วค่อยรัน JS - ถ้าจำเป็นต้องวางไว้ใน <head> แนะนำใส่ attribute defer เช่น <script src="script.js" defer></script> ข้อดีคือไฟล์ JS จะโหลดไปพร้อมๆ กับ HTML แต่จะรันหลังจาก DOM สร้างเสร็จ ทำให้ document.getElementById(...) หา element เจอ 2) ต่างกันยังไงระหว่าง defer กับ async? - defer: โหลดระหว่าง parse HTML และ “รันหลัง DOM พร้อม” (เหมาะกับสคริปต์ที่ต้องจับปุ่ม/ผูก event) - async: โหลดและรันทันทีที่โหลดเสร็จ อาจรันก่อน DOM พร้อม (เหมาะกับสคริปต์ที่ไม่พึ่ง element เช่น analytics บางแบบ) 3) แนะนำเลิกใช้ Inline JS แล้วผูก event ในไฟล์แทน Inline แบบ onclick="..." ใช้ง่ายก็จริง แต่พอโค้ดยาวขึ้นจะดูแลยากมาก ฉันมักเปลี่ยนเป็นใส่ id หรือ class แล้วไป addEventListener ใน JS เช่น HTML: <button id="myButton">คลิกที่นี่</button> JS: document.getElementById('myButton').addEventListener('click', showAlert); function showAlert(){ alert('สวัสดี!'); } แบบนี้แยกหน้าที่ชัด (HTML จัดโครง, JS จัดพฤติกรรม) 4) ถ้าใช้ Internal JS แนะนำเขียนให้เป็นระเบียบ ถ้าอยากลองอะไรเร็วๆ ในไฟล์เดียว ให้ใส่ <script> ไว้ท้าย body และตั้งชื่อฟังก์ชัน/คอมเมนต์ให้ชัด จะอ่านง่ายกว่าเขียนปนกับ onclick เยอะๆ 5) เช็กลิสต์เวลา JS ไม่ทำงาน (เจอบ่อยมาก) - สะกด id ให้ตรง (myButton vs mybutton) - ลืมใส่ # ตอน querySelector เช่น document.querySelector('#myButton') - วาง <script> ไว้ใน head แต่ไม่ใช้ defer - เปิด Console แล้วมี error แต่ไม่ได้ดู (กด F12 > Console) สรุปส่วนตัว: ถ้าเป็นงานจริงหรือทำหลายหน้า ฉันเลือก External JS เป็นหลัก แล้วใช้ defer หรือวางท้าย </body> เพื่อให้การใช้งาน html javascript ลื่นและดูแลง่ายกว่าในระยะยาวค่ะ

Related posts

Learn Coding the Easy Way!
#LearnToCode #CodingTutorials #ProgrammingForBeginners #TechEducation #CodeWithMe
InsightEvolution

InsightEvolution

2 likes

It may or may not depend on your effort.🫡
It sounds contradictory but everyone has their perfect time to learn new frameworks, so do not despair and do it without fear but with patience 😎 #lemon8diarychallenge #webdevelopment #programmer
Feibertord ⚡️

Feibertord ⚡️

15 likes

My Programming Interest Just Skyrocketed! 🚀
I just discovered something that has made my interest in programming explode to 1000000000000000%! 🤯 🎮 Learning Programming is Like a Game Adventure! From Python, Java, JavaScript, to HTML, there are all kinds of programming languages available, along with systematic topic courses. The learning p
Valder

Valder

2175 likes

The image is a title slide for a guide on common HTML mistakes and their fixes. It features an illustration of a person coding on a laptop, surrounded by code snippets and language labels like HTML, CSS, and C++. The text encourages avoiding errors to write clean HTML.
This slide addresses the mistake of forgetting the `<!DOCTYPE html>` declaration. It shows incorrect HTML code without it and the correct version including it, explaining that the doctype ensures proper browser rendering.
The slide highlights the error of not using semantic HTML. It contrasts using generic `<div>` tags for everything with the correct approach of using semantic tags like `<header>` and `<section>`, emphasizing improved SEO and accessibility.
Common HTML Mistakes Beginners Make and How to Fix
#learntocode #studymotivation #success #html #webdevelopment
Aysha

Aysha

22 likes

Best - FREE - coding sites
learning to code is important and a great look for your resume! plus it’s fun! ANYONE CAN LEARN! these are my favorite sites I’ve utilized to learn new skills! #codinggirl #codingforbeginners #embracevulnerability #shareyourthoughts #Lemon8Diary
LOLLIPOPAK

LOLLIPOPAK

2980 likes

The image introduces "HTML + CSS IN ACTION: 30 Days of Mini Projects Modal Popup," showcasing a modal example with text "This is a Modal" and an "Open Modal" button. It highlights "Pop up power—no JavaScript needed" for Day 23, by Code With Aysha.
This image defines a modal popup as a small overlay that captures user attention and "locks" the screen. It displays a side panel with "Quick Settings" including Dark Mode, Font Size, Accent Color, Animations, Notifications, and Quick Links.
The image explains why building modals with HTML + CSS matters, demonstrating a "Page" and an "Overlay + Centered Card" modal. It emphasizes learning CSS selectors, visibility control, layering, transitions, and responsive centering without JavaScript.
Build a Sleek Slide-in Side Panel with HTML CSS
Build a modern slide-in side panel using only HTML and CSS! Perfect for quick settings, theme controls, and navigation links. Fully responsive and beginner-friendly — no JavaScript required. #HTMLCSS #WebDesign #FrontendDevelopment #codewithaysha
Aysha

Aysha

5 likes

How I’d Learn JavaScript If I Were Starting Again
#javascript #coding #programming #tech #codingforbeginners
Aysha

Aysha

124 likes

How to Create a Progress Bar with HTML + CSS
#HTMLCSS #WebDevelopment #FrontendDev #codewithaysha
Aysha

Aysha

6 likes

HTML and Css Fundamentals.
1. Core HTML Elements: Defines HTML as the "skeleton" of a website, explaining the use of h1 to h6 for headings, <p> for paragraphs, and styling tags like <strong> for importance, <em> for emphasis, <sub> for subscripts, and <sup> for superscripts. 2. Lists
ZeroandoneHQ

ZeroandoneHQ

2 likes

A laptop screen displays lines of code, with text overlayed saying 'free websites to learn coding' and 'new skill,' encouraging users to swipe for more information on learning to code during a study break.
A laptop screen shows code, overlaid with a pop-up featuring 'codecademy.com.' The pop-up highlights interactive coding courses and a sign-up form, promoting it as a free resource for learning various programming languages.
A laptop screen displays code, overlaid with a pop-up featuring 'freecodecamp.com.' The pop-up describes it as a nonprofit offering free comprehensive web development and data analytics curriculum, including certifications.
On a study break? Try to learn how to code! 👩🏻‍💻
Learning coding during a study break is a productive way to use your time. It provides a mental shift from regular studies, enhances problem-solving skills, and fosters creativity. Online coding platforms offer flexibility, allowing you to learn at your own pace. This makes coding an ideal acti
teal.days

teal.days

2486 likes

Glowing Newsletter Form with HTML + CSS
Day 12 of my 30 Days of Mini Projects series — we’re building a stylish newsletter subscription form! It’s simple, modern, and perfect for dark-theme websites. You’ll learn how to style glowing inputs, gradient buttons, and a soft animated glow effect using CSS only. #HTMLCSS #WebDesign
Aysha

Aysha

1 like

A promotional image for "Tag a Day with Aysha" on Day 11, featuring the HTML <p> tag as the building block for page text, with a code icon and the creator's name.
An explanation of the HTML <p> tag, showing a code example, defining its function for paragraphs and automatic spacing, and providing quick tips for its effective use.
An image titled "Why It Matters" illustrating the benefits of the <p> tag for content readability, organization, improved SEO through text structuring, and compatibility with CSS styling.
Day 11 — The <p> Tag in HTML Explained
Day 11 of Tag a Day with Aysha! 🚀 Today we’re covering the <p> tag — the foundation for writing paragraphs in HTML. Learn what it is, why it matters, and how to use it with examples. Perfect for beginners learning HTML. #HTML #WebDevelopment #CodingForBeginners #paragraphTag #c
Aysha

Aysha

1 like

How to Learn Coding Fast Even as a Beginner
#codingforbeginners #programming #studymotivations #webdevelopment #learntocode
Aysha

Aysha

801 likes

A laptop, a Starbucks drink, and a muffin on a wooden table, with the overlaid text "5 WEBSITES TO LEARN PROGRAMMING FOR BEGINNERS".
A MacBook Air displaying the FreeCodeCamp website, which offers free coding lessons and certifications. The text "FREECODECAMP" with an arrow points to the screen.
A MacBook Air showing the Codecademy website, featuring its basic, plus, and pro pricing plans. The text "CODECADEMY" with an arrow points to the screen.
Learn programming for free 👩‍💻
1. FreeCodeCamp - Languages: JavaScript, Python, SQL, HTML/CSS, and more. - Hands-on Projects: FreeCodeCamp is project-driven, meaning as you go through the curriculum, you'll build real-world applications like weather apps, portfolio websites, and data visualization projects. The full-
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

610 likes

Day 1: Stylish Headings & Paragraphs | HTML + CSS
Welcome to Day 1 of HTML + CSS in Action! 🎉 Today we’re taking plain headings and paragraphs in HTML and styling them with CSS to make them clean, readable, and professional. #HTML #CSS #LearnToCode #WebDevelopment #codewithaysha
Aysha

Aysha

9 likes

The image is a title slide for "HTML + CSS IN ACTION: 30 Days of Mini Projects Resume Layout," featuring a preview of a clean resume design for "Aysha Sanyang Frontend Developer" with sections for profile, contact, and skills. It highlights "Day 26" and "Code With Aysha."
This image defines "What Is a Resume?" and showcases a detailed resume layout for "Aysha Sanyang Frontend Developer," including sections for profile, contact, skills, experience, and education. It explains that a resume is a professional overview highlighting skills, experience, education, and achievements.
The image explains "Why This Matters" for a resume layout, reiterating the definition of a resume and showing a simplified layout. It emphasizes that a good resume layout is easy to scan, professionally structured, clean, modern, and ideal for portfolios and personal websites.
Build a Clean Resume Layout (HTML + CSS Only)
Every great resume focuses on 3 things: 💼 Experience – what you’ve done 🎓 Education – what you’ve learned 🛠 Skills – what you can do In Day 26 of our HTML + CSS series, we’re turning these core sections into a clean, modern resume layout UI. Perfect for portfolios, personal sites, or frontend
Aysha

Aysha

3 likes

HTML5 Structure: A Visual Guide for Beginners
#html5 #webdevelopment #learntocode #codingforbeginners #SemanticHTML
Aysha

Aysha

147 likes

HTML + CSS + JavaScript = MAGIC! 🔥
HTML alone is just a structure, CSS adds style, but JavaScript brings it to life! 🚀 Watch how I build this Digital Clock from scratch using HTML, CSS & JavaScript! 👨‍💻💡 Try it yourself & level up your coding skills #codingforbeginners #htmlcssforbeginners #studymotivation #learntocod
Aysha

Aysha

3 likes

JavaScript Cheat Sheet
Essential JavaScript commands every developer needs! 🚀 Variables, functions, loops, arrays & DOM manipulation all in one quick reference guide. Perfect for coding interviews or daily development. Save this for later! 💾 #JavaScript #WebDev #Programming #Coding #Developer #JS #CodeTips
EM

EM

2 likes

A woman, Anjali Viramgama, stands on a balcony holding purple flowers, with a city view in the background. The image is titled "Basic Extensions to download On vs Code ft. Anjali Viramgama Part 1" and includes social media handles.
A yellow graphic lists two VS Code extensions: "HTML CSS Support" for auto-completion and formatting, and "GitLens" for enhanced Git capabilities and blame annotations. The graphic includes the creator's name and social media handles.
A yellow graphic details two VS Code extensions: "Bracket Pair Colorizer" for color-coding brackets, and "Live Server" for launching a local development server with live reloading. The graphic includes the creator's name and social media handles.
Basic extensions to download on vs code part 1
Visual Studio Code (VS Code) is a popular code editor that can be customized with a variety of extensions to enhance your coding experience. Here are some basic extensions you might find useful: 1. Python: If you're working with Python, the "Python" extension provides features like c
anjali.gama

anjali.gama

13 likes

JavaScript Cheat Sheet
Essential JavaScript commands every developer needs! 🚀 Variables, functions, loops, arrays & DOM manipulation all in one quick reference guide. Perfect for coding interviews or daily development. Save this for later! 💾 #JavaScript #WebDev #Programming #Coding #Developer #JS #Code
EM

EM

1 like

One Rust codebase, and it runs as a website, a desktop app, and a phone app without three separate frameworks. #github #opensource #coding #tech #ai
Kirbyhatguytech

Kirbyhatguytech

0 likes

A laptop screen displays a VS Code interface with HTML code. A "VS CODE PETS" section shows a cat and a dog. The image has an overlay text "extensions to girlify your vs code setup", suggesting a customization guide.
A VS Code interface is shown with a dark theme and standard file icons, displaying HTML code. An overlay text asks, "tired of your vs code looking like this?", implying this is a default or uncustomized setup.
This image lists four VS Code extensions: Kawaii Theme, Celestial Magic Girl Icon Theme, vscode-pets, and Bongo Cat. Each entry includes a brief description and options to enable or uninstall, showcasing customization options.
extensions to girlify your vs code setup 💻🌸
Is your VS Code looking boring? Here are 4 cute extensions to add to make your workspace cute! 🎀 Kawaii Theme — Cute dark mode theme with purple and pink accents! If you love cute pink themes, but don’t want to code in light mode, this is a great alternative! 🎀 Celestial Magic Girl Icon Theme
♡

1290 likes

A hooded figure types on a keyboard, surrounded by holographic screens displaying global data and code, with the text overlay "How to become Cyber Security" highlighting the article's focus.
A detailed flowchart illustrates the career path to becoming a cybersecurity professional, from high school studies and university degrees to various certifications, entry-level IT jobs, and specialized cybersecurity roles.
This image outlines essential foundational skills for aspiring cybersecurity professionals, including mathematics (logic, statistics), computer basics (operating systems, hardware), and programming languages like Python, C/C++, and JavaScript.
#cybersecurity #studying #studytok #studywithme #BackToSchool
study with me 📚

study with me 📚

28 likes

Never too old to learn!!! 🍋🥰🫶
silentmediaboss

silentmediaboss

5 likes

A man with tattoos and a cap sits at a desk, coding on a large monitor in a dimly lit room. Text overlays read 'SWIPE', 'Learning JavaScript?', and 'This is for YOU!', with a thinking emoji, promoting coding education.
A man with headphones and a cap codes at a desk with a large monitor displaying code. Text overlays read 'SWIPE', 'Break vs Continue', and 'In JS loops', with a thinking emoji, highlighting JavaScript loop concepts.
A man with headphones and a cap sits at a desk, coding on a large monitor in a bright room. Text overlays read 'Let's Discuss!' with a thinking emoji, inviting interaction about coding topics.
Coding W/ JavaScript?
As a software engineer w/ ADHD, understanding the difference between certain syntax keywords is critical, such as ‘continue’ and ‘break’ within JavaScript loops.💡 It’s almost like centering a <div> — it takes practice to feel confident in your abilities. 🛠️ When my mind gets stuck in a
Michael Burbank

Michael Burbank

13 likes

What Is JavaScript? (Beginner Friendly)
JavaScript is what turns a website from static to interactive. In Day 1 of this beginner-friendly JavaScript series, I explain: • what JavaScript is • why websites feel “alive” • how JavaScript works with HTML and CSS #learnjavascript #codingforbeginners #webdevelopment #codewit
Aysha

Aysha

9 likes

A person's hand is on a MacBook Pro keyboard, displaying the coddy.tech website with "Code Makes Perfect" and coding illustrations. The image highlights learning to code for free with this website.
A MacBook Pro screen shows the coddy.tech website's daily challenge interface, allowing users to search by programming language, choose difficulty, and access daily challenges.
A MacBook Pro screen displays the coddy.tech website, showcasing full, beginner-friendly courses like "SQL for beginners" and "Python Introduction," emphasizing practicing at one's own pace.
learn how to code for FREE! 💻
learning to code for free has never been easier with coddy.tech! 🌟 whether you're a complete beginner or looking to enhance your skills, coddy.tech offers a range of resources to help you on your coding journey. here's how you can get started: explore coding courses: coddy.tech provides
sanae ☕️

sanae ☕️

1411 likes

How does web programming work? 🤨
Frontend:It's all about what users see and interact with. It uses HTML, CSS, and JavaScript to create a visual and dynamic experience. Backend:It handles server logic, databases, and authentication. Using languages like Python, Ruby, or Node.js, it processes and stores data. #lemon8diarych
Feibertord ⚡️

Feibertord ⚡️

37 likes

Roadmap to Becoming a Frontend Developer
Want to break into frontend development but don’t know where to start? 🤔 This step-by-step roadmap will guide you from beginner to job-ready frontend developer! #codingforbeginners #htmlcssforbeginners #programming #studymotivations #softwareengineer
Aysha

Aysha

52 likes

Semantic HTML
Did you know that using Semantic HTML makes your website more accessible, improves SEO, and enhances user experience? #webaccessibility #semanticHTML #webdevelopment #webdesign #frontenddevelopment
Aysha

Aysha

4 likes

HTML Tip of the Day 😎
Keep in mind that for Google to be able to present your website in one of the first pages you have to take something very present that is called "good practices". With that you will have to be careful when making your HTML so that Google or the browser can see that you have everything in o
Feibertord ⚡️

Feibertord ⚡️

17 likes

A promotional image for 'TAG A DAY WITH AYSHA' on Day 20, introducing the HTML tags <dl>, <dt>, and <dd> to structure knowledge with clarity, from 'Code With Aysha'.
An educational image defining the HTML tags <dl>, <dt>, and <dd>. It shows a code snippet example and explains <dl> as a definition list container, <dt> as a definition term, and <dd> as a definition description.
An informational image explaining why definition lists matter, highlighting their benefits for organizing terms, suitability for glossaries, FAQs, and product features, and their role in improving accessibility and SEO.
What Are Definition Lists in HTML?
Learn how to use the <dl>, <dt>, and <dd> tags in HTML. Not all lists are the same! In this video, we explore definition lists—the perfect way to pair terms with their meanings. Whether it’s glossaries, FAQs, or product specs, you’ll see when to use each tag, how they boost readab
Aysha

Aysha

4 likes

The image introduces "TAG A DAY WITH AYSHA" focusing on the `<html>` tag as the root of every webpage, marking it as Day 1 of "Code With Aysha" with a code tag icon.
This image defines the `<html>` tag, showing an example HTML code structure and stating it's the very first tag in an HTML document, containing all other elements.
The image explains the importance of the `<html>` tag, highlighting that it wraps all code, helps browsers interpret HTML correctly, and is required in every HTML file.
What Is <html> in HTML? | Day 1 with Aysha
Think of this as the backbone of every webpage. It wraps your entire code and tells the browser, “Everything inside here is HTML — render it like a webpage!” You’ll use this tag in every single HTML file you write. It’s basic — but absolutely essential. 💡 Even advanced devs start here.
Aysha

Aysha

4 likes

HTML Cheat Sheet
Essential HTML tags every developer needs! 🚀 Quick reference guide covering structure, text, links, images, forms & more. Perfect for beginners and coding bootcamps! Save this for your next project 💻✨ #HTML #WebDevelopment #Coding #Programming #webdev
EM

EM

1 like

🎓 Websites That Teach You For Free 🎓
Ready to level up your tech skills without spending a dime? Here's a list of websites offering free courses across various fields. Let's get started! 🚀 🤖 Artificial Intelligence (AI) • http://elementsofai.com • http://lnprogrammer.com 🌐 Web Development HTML • http://html.com • ht
Valder

Valder

203 likes

HTML Cheat Sheet
Essential HTML tags every developer needs! 🚀 Quick reference guide covering structure, text, links, images, forms & more. Perfect for beginners and coding bootcamps! Save this for your next project 💻✨ #HTML #WebDevelopment #Coding #Programming #webdev
EM

EM

1 like

Semantic HTML: What it is and Why it matters
Semantic HTML uses specific tags (e.g., Header, Nav, Article) to define a webpage's content purpose and structure, improving understanding for browsers and developers, and benefiting SEO. Semantic HTML is vital for accessibility, SEO, and code readability. It aids screen readers, helps search
ZeroandoneHQ

ZeroandoneHQ

1 like

A title slide for 'HTML + CSS IN ACTION: Login Form' from '30 Days of Mini Projects - Day 9' by Code With Aysha, highlighting a simple, beautiful, and functional design.
Defines a login form with an example UI showing username, password fields, and a login button. Explains its purpose for user authentication.
Displays the basic HTML structure for a login form and the corresponding CSS styles for a dark mode theme, including hover effects.
How to Create a Stylish Login Form with HTML + CSS
For Day 9 of my 30 Days of Mini Projects, I’m showing you how to design a modern login form. ✔ Clean design ✔ Dark mode style ✔ Hover effects for the button #HTMLCSS #LoginForm #CodingForBeginners #codewithaysha #webdesign
Aysha

Aysha

5 likes

Free would be one thing, but this dashboard tracks the whole planet in real time and somehow costs nothing. #github #opensource #coding #tech #ai
Kirbyhatguytech

Kirbyhatguytech

0 likes

The image introduces "HTML + CSS IN ACTION: 30 Days of Mini Projects Media Player" for Day 21, showcasing a modern, macOS-style video player UI. It highlights making media playback look modern and polished using HTML and CSS, presented by Code With Aysha.
This image defines a media player, showing the modern video player UI with a prominent play button. Text explains that media players allow users to play audio/video in browsers using HTML, with customizable controls and styling to match a website.
The image illustrates the importance of custom media players by comparing a "Default browser player" with a "Custom styled player." It lists benefits like enhanced user experience, keeping users on the page, building website sections, and practicing UI design.
Build a Modern Video Player Using HTML & CSS Only
In this Day 21 HTML & CSS project, we’ll build a modern video player design using only HTML and CSS — no JavaScript required! This project is inspired by a macOS-style media player, featuring a clean UI, soft gradients, and a cinematic look. It’s perfect for beginners who want to practice re
Aysha

Aysha

9 likes

A dark blue cover page titled "Beginner-Friendly CSS Visual Guide" with a CSS file icon, inviting users to master CSS basics and style websites like a pro. The Lemon8 logo and username are at the bottom.
A dark blue slide introducing CSS, defining it as Cascading Style Sheets for styling HTML elements. It shows a CSS icon and provides examples of CSS syntax with a selector, property, and value.
A dark blue slide explaining CSS Selectors. It features a diagram showing a CSS file icon branching to 'p', 'div', 'class', and 'id' selectors, with text describing common selector types and their usage.
Beginner-Friendly CSS Visual Guide
#cssforbeginners #frontenddevelopment #cssvisualguide #codingforbeginners #htmlandcss
Aysha

Aysha

9 likes

HTML5 Cheatsheet for Beginners – Essential Tags
Want to master HTML5? Here’s a quick cheatsheet covering essential HTML tags – from document structure to forms, tables, and multimedia elements! #coding #html #programming #studymotivation
Aysha

Aysha

106 likes

The Most In-Demand Programming Languages in 2025
#codingforbeginners #htmlcssforbeginners #studymotivation #programming #softwareengineering
Aysha

Aysha

30 likes

An infographic illustrates web browser fingerprinting, categorizing attributes collected to create unique user profiles. It lists HTTP headers, input/interaction, browser config, system/device info, network connectivity, graphics/rendering, capabilities, and behavioral/timing data points.
Web browser fingerprinting
Web browser fingerprinting is the technique of uniquely identifying and tracking a device by collecting and correlating its exposed system, browser, and network attributes during web interactions Here are a categorized list of attributes collected as part of browser fingerprinting 😎👆 #privacy
Learn Linux with Dan

Learn Linux with Dan

17 likes

Evony Nard

Evony Nard

0 likes

This image introduces "HTML + CSS IN ACTION: 30 Days of Mini Projects," focusing on Day 14: "Two-Column Layout (Sidebar + Main Content)." It highlights organizing webpages with a clean two-column design, presented by Code With Aysha.
This image defines a two-column layout, showcasing an example with a sidebar for navigation and a main content area. It explains that the sidebar is for navigation/extra info, and the main content is for articles/posts, built using HTML and CSS.
This image explains the benefits of a two-column layout, including organization, scannability, structuring real-world websites, and responsive design. A diagram illustrates sidebar and content alignment within the layout.
How to Build a Two-Column Layout with HTML + CSS
Learn how to create a clean, responsive two-column layout using only HTML and CSS! This project shows you how to combine a sidebar and main content area using Flexbox — perfect for dashboards, blogs, and portfolios. #HTML #CSS #Flexbox #WebDesign #codewithaysha
Aysha

Aysha

5 likes

A laptop screen displays a 'Little Lens Photography' website homepage in a browser on the left, and HTML code for `index.html` in a code editor on the right. The website features a camera banner, navigation, and site overview sections. A keyboard is visible below.
Coding🖥️📝
GUYS GUYS GUYS IM DOING IT OMG… Building a whole website for my class final, changing things as I go ect..>> & I’m like so scared lmao. K bye :.) 👩🏻‍💻🧬 #HTML #CSS #codingisfun
Valerie

Valerie

5 likes

A promotional image for 'HTML + CSS IN ACTION: 30 Days of Mini Projects' featuring a multi-step form example. It highlights 'Day 25' and 'Code With Aysha', showing a form with 'Personal Info', 'Contact Details', and 'Confirm' steps, with 'Contact Details' currently active.
An image defining a multi-step form, showing two examples of forms ('Create Account' and 'Profile Info') built with 'No JavaScript - just HTML & CSS!'. Text explains that multi-step forms divide long forms into smaller sections to improve user experience.
An image comparing a 'Long Form' with a 'Step Form', illustrating how breaking down forms into logical steps can improve focus, increase completion rates, and create a smoother user experience.
Long Form vs Step Form — Which One Converts Better
Learn how to build a beautiful multi-step form layout without JavaScript! We’ll structure clean HTML, design step indicators, and style transitions for a real-world form look. #WebDesign #FrontendDev #htmlcss #codewithaysha
Aysha

Aysha

3 likes

A computer screen displays Haskell code in an IDE, with the title 'LEARNING HOW TO CODE'. The screen shows code lines, file explorer, and status bar, set against a background with butterfly patterns, illustrating the start of a coding journey.
This image titled 'CHOOSING A LANGUAGE' presents popular programming languages: Python, Java, and JavaScript, each with its logo and a brief description highlighting their characteristics and suitability for beginners or experienced programmers.
Titled 'HOW TO START', this image outlines steps for learning to code, including finding resources, joining communities, completing coding challenges on platforms like HackerRank, and focusing on proficiency in one language.
Becoming a tech girly 👩🏾‍💻: Learning How to Code
Hi! I'm new to Lemon8 ✨ and this is my first post ☺️ I'm currently working as a software engineer and thought I'd share some of my ideas about how you can get started with programming. I've invested a lot of time getting underrepresented groups into the field of tech through
Lauren Williams

Lauren Williams

473 likes

A dark blue slide titled "Duplicate Line or Selection Instantly in VS Code," featuring the VS Code logo and a code snippet showing `Console.log('Hello');` duplicated.
A slide explaining "What It Means In VS Code," defining line duplication as making an exact copy of code to save time and effort when writing repetitive code.
A slide detailing "The Shortcut" for duplicating lines in VS Code for Windows (Shift + Alt + Down/Up Arrow) and Mac (Shift + Option + Down/Up Arrow), with a "Before" and "After" HTML code example.
Duplicate Line or Selection Instantly in VS Code
#codingtips #vscode #webdevelopment #codingshortcut #learntocode
Aysha

Aysha

10 likes

A title slide for 'HTML + CSS IN ACTION: 30 Days of Mini Projects' featuring 'Profile Card (with picture + text)' for portfolios and team pages. It highlights 'Day 4' and mentions 'Code With Aysha' and the Lemon8 platform.
An image defining a profile card, showing an example with 'Aysha, Software Engineer' and a circular profile picture. Text describes it as a simple card layout with image, name, and description, common in portfolios, team pages, and social apps.
This image displays basic HTML code for a profile card structure, including an image, name, and description. Below it, CSS styles are shown for the card's layout, background, text, and the circular image within the card.
HTML + CSS in Action (Day 4) — Profile Card
Day 4 of HTML + CSS in Action! 🚀 Today we’re building a Profile Card with picture and text using HTML + CSS. This simple project is perfect for portfolios and team pages. #HTMLCSS #FrontendDevelopment #ProfileCard #codewithaysha
Aysha

Aysha

5 likes

Tools Every Full-Stack Web Developer Should Know
#learntocode #codingforbeginners #fullstackdeveloper #techtips #webdevjourney
Aysha

Aysha

23 likes

penny

penny

0 likes

See more