rajdowic / js_learning

0 stars 1 forks source link

#1 Getting started #1

Open Dyzio18 opened 3 years ago

Dyzio18 commented 3 years ago

1 Getting started with HTML5 and base website structure

Steps

  1. Create directory in repository named lesson-1-getting-started
  2. Create index.html file. (We code with HTML5 standard)
  3. Read more obout HTML5: https://developer.mozilla.org/pl/docs/HTML/HTML5

You can download boilerplate/template code and started from here as example: https://html5boilerplate.com/ - we focus on good practices and clean/semantic code.

  1. Add to your HTML external files: js/script.js and css/style.css, create images/ directory in lesson root catalog.
  2. Add to your HTML file bootstrap style & scripts (https://getbootstrap.com/docs/5.0/getting-started/introduction/)
  3. Create form using Bootstrap (version 5). Form should include single input with number value and submit button.

Use components/class to build responsive layout with form:

DOCS & LEARN MORE: https://developer.mozilla.org/en-US/docs/Learn

  1. With bootstrap or your own style make border (2px, solid, #333333) around form
  2. In JS file write function to display in console value from form after submit

TEST CASE: Display form value after submit.

Edge cases:

Dyzio18 commented 3 years ago

image